Skip to content

Commit

Permalink
Update according to the review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK authored Apr 17, 2024
1 parent 91616f3 commit 1fe9f38
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SYNOPSIS
[--operations <operation-names>] [-n | --nullable]
[--license] <license-file-path> [--with-tests]
[--client-methods] <resource|remote> [--without-data-binding]
[--with-status-code-binding]
[--status-code-binding]
bal openapi [-i | --input] <ballerina-service-file-path> [--json]
[-s | --service] <current-service-name>

Expand Down Expand Up @@ -83,13 +83,13 @@ OPTIONS
--client-methods <resource|remote>
This option can be used in client generation to select the client
method type, which can be `resource` or `remote`.
The default option is `remote`.
The default option is `resource`.

--without-data-binding
This option can be used in the service generation to generate a
low-level service without any data-binding logic.

--with-status-code-binding
--status-code-binding
This option can be used in the client generation to generate the
client methods with status code response binding.

Expand Down Expand Up @@ -124,8 +124,8 @@ EXAMPLES

Generate a Ballerina client with status code response binding using a
`hello.yaml` OpenAPI contract.
$ bal openapi -i hello.yaml --mode client --with-status-code-binding
$ bal openapi -i hello.yaml --with-status-code-binding
$ bal openapi -i hello.yaml --mode client --status-code-binding
$ bal openapi -i hello.yaml --status-code-binding

Generate all the record fields that are not specifically mentioned as
`nullable:false` in the OpenAPI schema property as nullable.
Expand Down

0 comments on commit 1fe9f38

Please sign in to comment.