Skip to content

Commit cc78fc0

Browse files
authored
Replaced "swagger_client" with "openapi_client"
1 parent bb00731 commit cc78fc0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,17 @@ See also:
118118
##### Usage of the `oauth1.signer_interceptor`
119119

120120
```python
121-
import swagger_client
122-
from swagger_client.api_client import ApiClient
123-
from swagger_client.api.service_api import PostApi
121+
import openapi_client
122+
from openapi_client.api_client import ApiClient
123+
from openapi_client.api.service_api import PostApi
124124
from oauth1.signer_interceptor import add_signing_layer
125125

126126
// ...
127-
config = swagger_client.Configuration()
127+
config = openapi_client.Configuration()
128128
config.host = 'https://sandbox.api.mastercard.com'
129-
client = swagger_client.ApiClient(config)
129+
client = openapi_client.ApiClient(config)
130130
add_signing_layer(self, client, '<insert PKCS#12 key file path>', '<insert key password>', '<insert consumer key>')
131-
api = swagger_client.api.service_api.PostApi(client)
131+
api = openapi_client.api.service_api.PostApi(client)
132132
result = api.create_resource(schema=body)
133133
// ...
134134
```

0 commit comments

Comments
 (0)