update samples

This commit is contained in:
William Cheng 2023-02-11 10:35:27 +08:00
parent 68b944e6e6
commit e702506e4d

View File

@ -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