Skip to content

Commit d07f4f4

Browse files
committed
Updated openapi-generator-cli command, clean-up
1 parent fa59523 commit d07f4f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Usage:
102102
uri = "https://sandbox.api.mastercard.com/service"
103103
request = Request()
104104
request.method = "POST"
105-
# ...
105+
#
106106

107107
signer = OAuthSigner(consumer_key, signing_key)
108108
request = signer.sign_request(uri, request)
@@ -165,10 +165,10 @@ Generators currently supported:
165165

166166
Client libraries can be generated using the following command:
167167
```shell
168-
java -jar openapi-generator-cli.jar generate -i openapi-spec.yaml -g python -o out
168+
openapi-generator-cli generate -i openapi-spec.yaml -g python -o out
169169
```
170170
See also:
171-
* [OpenAPI Generator (executable)](https://mvnrepository.com/artifact/org.openapitools/openapi-generator-cli)
171+
* [OpenAPI Generator CLI Installation](https://openapi-generator.tech/docs/installation/)
172172
* [CONFIG OPTIONS for python](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python.md)
173173

174174
##### Usage of the `oauth1.signer_interceptor`
@@ -177,12 +177,12 @@ See also:
177177
import openapi_client
178178
from oauth1.signer_interceptor import add_signer_layer
179179

180-
# ...
180+
#
181181
config = openapi_client.Configuration()
182182
config.host = 'https://sandbox.api.mastercard.com'
183183
client = openapi_client.ApiClient(config)
184184
add_signer_layer(client, '<insert PKCS#12 key file path>', '<insert key password>', '<insert consumer key>')
185185
some_api = openapi_client.SomeApi(client)
186186
result = some_api.do_something()
187-
# ...
187+
#
188188
```

0 commit comments

Comments
 (0)