forked from loafle/openapi-generator-original
update samples
This commit is contained in:
parent
68b944e6e6
commit
e702506e4d
@ -54,18 +54,6 @@ Class | Method
|
|||||||
|
|
||||||
## Authorization
|
## Authorization
|
||||||
|
|
||||||
## api_key
|
|
||||||
- **Type**: API key
|
|
||||||
|
|
||||||
Example
|
|
||||||
```
|
|
||||||
using OpenAPI
|
|
||||||
using OpenAPI.Clients
|
|
||||||
import OpenAPI.Clients: Client
|
|
||||||
client = Client(server_uri)
|
|
||||||
api = MyApi(client)
|
|
||||||
result = callApi(api, args...; api_key)
|
|
||||||
```
|
|
||||||
## petstore_auth
|
## petstore_auth
|
||||||
- **Type**: OAuth
|
- **Type**: OAuth
|
||||||
- **Flow**: implicit
|
- **Flow**: implicit
|
||||||
@ -84,6 +72,18 @@ Example
|
|||||||
api = MyApi(client)
|
api = MyApi(client)
|
||||||
result = callApi(api, args...; api_key)
|
result = callApi(api, args...; api_key)
|
||||||
```
|
```
|
||||||
|
## api_key
|
||||||
|
- **Type**: API key
|
||||||
|
|
||||||
|
Example
|
||||||
|
```
|
||||||
|
using OpenAPI
|
||||||
|
using OpenAPI.Clients
|
||||||
|
import OpenAPI.Clients: Client
|
||||||
|
client = Client(server_uri)
|
||||||
|
api = MyApi(client)
|
||||||
|
result = callApi(api, args...; api_key)
|
||||||
|
```
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user