first
This commit is contained in:
12
test/docs/Error.md
Normal file
12
test/docs/Error.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Error
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**code** | **i32** | |
|
||||
**message** | **String** | |
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
13
test/docs/Pet.md
Normal file
13
test/docs/Pet.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Pet
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **i64** | |
|
||||
**name** | **String** | |
|
||||
**tag** | Option<**String**> | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
95
test/docs/PetsApi.md
Normal file
95
test/docs/PetsApi.md
Normal file
@ -0,0 +1,95 @@
|
||||
# \PetsApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create_pets**](PetsApi.md#create_pets) | **POST** /pets | Create a pet
|
||||
[**list_pets**](PetsApi.md#list_pets) | **GET** /pets | List all pets
|
||||
[**show_pet_by_id**](PetsApi.md#show_pet_by_id) | **GET** /pets/{petId} | Info for a specific pet
|
||||
|
||||
|
||||
|
||||
## create_pets
|
||||
|
||||
> create_pets(pet)
|
||||
Create a pet
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**pet** | [**Pet**](Pet.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## list_pets
|
||||
|
||||
> Vec<models::Pet> list_pets(limit)
|
||||
List all pets
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**limit** | Option<**i32**> | How many items to return at one time (max 100) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Vec<models::Pet>**](Pet.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## show_pet_by_id
|
||||
|
||||
> models::Pet show_pet_by_id(pet_id)
|
||||
Info for a specific pet
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**pet_id** | **String** | The id of the pet to retrieve | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::Pet**](Pet.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
Reference in New Issue
Block a user