Skip to content

Commit

Permalink
Fix review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
lnash94 committed Dec 2, 2024
1 parent bf7d657 commit 82d9fc6
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,14 @@ To view bug fixes, see the [GitHub milestone for Swan Lake Update 11 (2201.11.0)
#### CLI

#### OpenAPI tool
- Introduced the `flatten` sub-command, which flattens the OpenAPI contract file by moving
all the inline schemas to the components section. The output is a modified OpenAPI contract.
- Introduced the `flatten` sub-command, which flattens the OpenAPI contract file by moving all the inline schemas to the components section. The output is a modified OpenAPI contract.

```bash
```
$ bal openapi flatten <openapi.yaml>
```
- Introduced the `sanitize` sub-command, which sanitizes the OpenAPI contract file according to Ballerina's best
naming practices. The Ballerina name extensions are added to the schemas which can not be modified directly.
The output is a modified OpenAPI contract.
- Introduced the `sanitize` sub-command, which sanitizes the OpenAPI contract file according to Ballerina's best naming practices. The Ballerina name extensions are added to the schemas which can not be modified directly. The output is a modified OpenAPI contract.

```bash
```
$ bal openpai sanitize <openapi.yaml>
```
- Add code generation support with the new Ballerina name extensions. These extensions are mapped as relevant
Expand Down Expand Up @@ -115,8 +112,7 @@ annotations in the generated types, parameters and record fields.
This code generation support is available for client, service implementation, and service type code generation.


- Added support for relaxed data binding on the client side payload. This enables, `nil` values are treated as optional,
and absent fields are handled as `nilable` types.
- Added support for relaxed data binding on the client side payload. This enables, `nil` values are treated as optional, and absent fields are handled as `nilable` types.

### Improvements

Expand Down

0 comments on commit 82d9fc6

Please sign in to comment.