@@ -102,7 +102,7 @@ Usage:
102102uri = " https://sandbox.api.mastercard.com/service"
103103request = Request()
104104request.method = " POST"
105- # ...
105+ # …
106106
107107signer = OAuthSigner(consumer_key, signing_key)
108108request = signer.sign_request(uri, request)
@@ -165,10 +165,10 @@ Generators currently supported:
165165
166166Client 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```
170170See 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:
177177import openapi_client
178178from oauth1.signer_interceptor import add_signer_layer
179179
180- # ...
180+ # …
181181config = openapi_client.Configuration()
182182config.host = ' https://sandbox.api.mastercard.com'
183183client = openapi_client.ApiClient(config)
184184add_signer_layer(client, ' <insert PKCS#12 key file path>' , ' <insert key password>' , ' <insert consumer key>' )
185185some_api = openapi_client.SomeApi(client)
186186result = some_api.do_something()
187- # ...
187+ # …
188188```
0 commit comments