forked from loafle/openapi-generator-original
update samples
This commit is contained in:
parent
68b944e6e6
commit
e702506e4d
@ -54,18 +54,6 @@ Class | Method
|
||||
|
||||
## 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
|
||||
- **Type**: OAuth
|
||||
- **Flow**: implicit
|
||||
@ -84,6 +72,18 @@ Example
|
||||
api = MyApi(client)
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user