Documentation ¶
Overview ¶
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * API version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdditionalPropertiesClass
- type AllOfSubCategoryCategory
- type Animal
- type AnimalApiDeleteAnimalOpts
- type AnimalApiService
- func (a *AnimalApiService) AddAnimal(ctx context.Context, body Animal) (*http.Response, error)
- func (a *AnimalApiService) DeleteAnimal(ctx context.Context, animalId int64, ...) (*http.Response, error)
- func (a *AnimalApiService) GetAnimalById(ctx context.Context, animalId int64) (Animal, *http.Response, error)
- func (a *AnimalApiService) UpdateAnimal(ctx context.Context, body Animal) (*http.Response, error)
- func (a *AnimalApiService) UpdateAnimalWithForm(ctx context.Context, animalId int64, ...) (*http.Response, error)
- type AnimalApiUpdateAnimalWithFormOpts
- type AnotherFakeApiService
- type AnyOfbody9
- type AnyOfinlineResponseItems200
- type ArrayOfArrayOfNumberOnly
- type ArrayOfNumberOnly
- type BasicAuth
- type Body
- type Body1
- type Body2
- type Body3
- type Body4
- type Body5
- type Body6
- type Body7
- type Body8
- type Body9
- type Capitalization
- type Cat
- type CatAllOf2
- type Category
- type ClassModel
- type Client
- type Configuration
- type Dog
- type DogAllOf2
- type DogApiDeleteDogOpts
- type DogApiService
- func (a *DogApiService) AddDog(ctx context.Context, body Dog) (*http.Response, error)
- func (a *DogApiService) DeleteDog(ctx context.Context, dogId int64, localVarOptionals *DogApiDeleteDogOpts) (*http.Response, error)
- func (a *DogApiService) GetDogById(ctx context.Context, dogId int64) (Dog, *http.Response, error)
- func (a *DogApiService) UpdateDog(ctx context.Context, body Dog) (*http.Response, error)
- func (a *DogApiService) UpdateDogWithForm(ctx context.Context, dogId int64, ...) (*http.Response, error)
- type DogApiUpdateDogWithFormOpts
- type EnumArrays
- type EnumClass
- type FakeApiFakeOuterBooleanSerializeOpts
- type FakeApiFakeOuterCompositeSerializeOpts
- type FakeApiFakeOuterNumberSerializeOpts
- type FakeApiFakeOuterStringSerializeOpts
- type FakeApiService
- func (a *FakeApiService) FakeOuterBooleanSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterBooleanSerializeOpts) (bool, *http.Response, error)
- func (a *FakeApiService) FakeOuterCompositeSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterCompositeSerializeOpts) (OuterComposite, *http.Response, error)
- func (a *FakeApiService) FakeOuterNumberSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterNumberSerializeOpts) (float64, *http.Response, error)
- func (a *FakeApiService) FakeOuterStringSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterStringSerializeOpts) (string, *http.Response, error)
- func (a *FakeApiService) TestClientModel(ctx context.Context, body Client) (Client, *http.Response, error)
- func (a *FakeApiService) TestEndpointParameters(ctx context.Context, body Body2) (*http.Response, error)
- func (a *FakeApiService) TestEnumParameters(ctx context.Context, localVarOptionals *FakeApiTestEnumParametersOpts) (*http.Response, error)
- func (a *FakeApiService) TestEnumRequestBody(ctx context.Context, localVarOptionals *FakeApiTestEnumRequestBodyOpts) (*http.Response, error)
- func (a *FakeApiService) TestInlineAdditionalProperties(ctx context.Context, body map[string]string) (*http.Response, error)
- func (a *FakeApiService) TestJsonFormData(ctx context.Context, body Body5) (*http.Response, error)
- type FakeApiTestEnumParametersOpts
- type FakeApiTestEnumRequestBodyOpts
- type FakeClassnameTags123ApiService
- type GenericSwaggerError
- type HasOnlyReadOnly
- type InlineArrayItemsAllPetsResponse
- type InlineResponse200
- type InlineResponse2001
- type InlineResponseItems200
- type List
- type Macaw
- type MasterApiService
- type MixedPropertiesAndAdditionalPropertiesClass
- type Model200Response
- type ModelApiResponse
- type ModelReturn
- type Name
- type NullableEnumModel
- type NumberOnly
- type OneOfPartMasterDestination
- type OneOfPartMasterOrigin
- type OneOfPup
- type OneOfSinglePetResponsePet
- type OneOfinlineArrayItemsAllPetsResponse
- type OneOfinlineResponse2001
- type OneOfvalMembersValMember
- type Order
- type OuterComposite
- type OuterEnum
- type Parakeet
- type ParrotApiAddParrotOpts
- type ParrotApiService
- func (a *ParrotApiService) AddParrot(ctx context.Context, localVarOptionals *ParrotApiAddParrotOpts) (InlineResponse2001, *http.Response, error)
- func (a *ParrotApiService) GetParrots(ctx context.Context) ([]InlineResponseItems200, *http.Response, error)
- func (a *ParrotApiService) UpdateParrots(ctx context.Context, localVarOptionals *ParrotApiUpdateParrotsOpts) (InlineResponse200, *http.Response, error)
- type ParrotApiUpdateParrotsOpts
- type PartFour
- type PartMaster
- type PartOne
- type PartThree
- type PartTwo
- type Pet
- type PetApiDeletePetOpts
- type PetApiDoCategoryStuffOpts
- type PetApiService
- func (a *PetApiService) AddPet(ctx context.Context, body Pet) (*http.Response, error)
- func (a *PetApiService) DeletePet(ctx context.Context, petId int64, localVarOptionals *PetApiDeletePetOpts) (*http.Response, error)
- func (a *PetApiService) DoCategoryStuff(ctx context.Context, localVarOptionals *PetApiDoCategoryStuffOpts) (ModelApiResponse, *http.Response, error)
- func (a *PetApiService) FindPetsByStatus(ctx context.Context, status []string) ([]Pet, *http.Response, error)
- func (a *PetApiService) FindPetsByTags(ctx context.Context, tags []string) ([]Pet, *http.Response, error)
- func (a *PetApiService) GetAllPets(ctx context.Context) ([]InlineArrayItemsAllPetsResponse, *http.Response, error)
- func (a *PetApiService) GetPetById(ctx context.Context, petId int64) (Pet, *http.Response, error)
- func (a *PetApiService) GetRandomPet(ctx context.Context) (SinglePetResponse, *http.Response, error)
- func (a *PetApiService) UpdatePet(ctx context.Context, body Pet) (*http.Response, error)
- func (a *PetApiService) UpdatePetWithForm(ctx context.Context, petId int64, ...) (*http.Response, error)
- func (a *PetApiService) UploadFile(ctx context.Context, petId int64, localVarOptionals *PetApiUploadFileOpts) (ModelApiResponse, *http.Response, error)
- type PetApiUpdatePetWithFormOpts
- type PetApiUploadFileOpts
- type Pup
- type ReadOnlyFirst
- type SinglePetResponse
- type SpecialModelName
- type StoreApiService
- func (a *StoreApiService) DeleteOrder(ctx context.Context, orderId string) (*http.Response, error)
- func (a *StoreApiService) GetInventory(ctx context.Context) (map[string]int32, *http.Response, error)
- func (a *StoreApiService) GetOrderById(ctx context.Context, orderId int64) (Order, *http.Response, error)
- func (a *StoreApiService) PlaceOrder(ctx context.Context, body Order) (Order, *http.Response, error)
- type SubCategory
- type SubCategoryPets
- type Tag
- type User
- type UserApiService
- func (a *UserApiService) CreateUser(ctx context.Context, body User) (*http.Response, error)
- func (a *UserApiService) CreateUsersWithArrayInput(ctx context.Context, body []User) (*http.Response, error)
- func (a *UserApiService) CreateUsersWithListInput(ctx context.Context, body []User) (*http.Response, error)
- func (a *UserApiService) DeleteUser(ctx context.Context, username string) (*http.Response, error)
- func (a *UserApiService) GetUserByName(ctx context.Context, username string) (User, *http.Response, error)
- func (a *UserApiService) LoginUser(ctx context.Context, username string, password string) (string, *http.Response, error)
- func (a *UserApiService) LogoutUser(ctx context.Context) (*http.Response, error)
- func (a *UserApiService) UpdateUser(ctx context.Context, body User, username string) (*http.Response, error)
- type UserWrapper
- type ValMemberChoice1
- type ValMemberChoice2
- type ValMembers
- type ValMembersValMember
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AnimalApi *AnimalApiService AnotherFakeApi *AnotherFakeApiService DogApi *DogApiService FakeApi *FakeApiService FakeClassnameTags123Api *FakeClassnameTags123ApiService MasterApi *MasterApiService ParrotApi *ParrotApiService PetApi *PetApiService StoreApi *StoreApiService UserApi *UserApiService // contains filtered or unexported fields }
APIClient manages communication with the Swagger Petstore API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AnimalApiService ¶
type AnimalApiService service
func (*AnimalApiService) AddAnimal ¶
AnimalApiService Add a new animal to the store
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Animal object that needs to be added to the store
func (*AnimalApiService) DeleteAnimal ¶
func (a *AnimalApiService) DeleteAnimal(ctx context.Context, animalId int64, localVarOptionals *AnimalApiDeleteAnimalOpts) (*http.Response, error)
func (*AnimalApiService) GetAnimalById ¶
func (a *AnimalApiService) GetAnimalById(ctx context.Context, animalId int64) (Animal, *http.Response, error)
AnimalApiService Find animal by ID Returns a single animal
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param animalId ID of pet to return
@return Animal
func (*AnimalApiService) UpdateAnimal ¶
AnimalApiService Update an existing animal
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Animal object that needs to be added.
func (*AnimalApiService) UpdateAnimalWithForm ¶
func (a *AnimalApiService) UpdateAnimalWithForm(ctx context.Context, animalId int64, localVarOptionals *AnimalApiUpdateAnimalWithFormOpts) (*http.Response, error)
type AnotherFakeApiService ¶
type AnotherFakeApiService service
func (*AnotherFakeApiService) TestSpecialTags ¶
func (a *AnotherFakeApiService) TestSpecialTags(ctx context.Context, body Client) (Client, *http.Response, error)
AnotherFakeApiService To test special tags To test special tags
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body client model
@return Client
type AnyOfbody9 ¶
type ArrayOfArrayOfNumberOnly ¶
type ArrayOfArrayOfNumberOnly struct {
ArrayArrayNumber [][]float64 `json:"ArrayArrayNumber,omitempty"`
}
type ArrayOfNumberOnly ¶
type ArrayOfNumberOnly struct {
ArrayNumber []float64 `json:"ArrayNumber,omitempty"`
}
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Body2 ¶
type Body2 struct { // None Integer int32 `json:"integer,omitempty"` // None Int32_ int32 `json:"int32,omitempty"` // None Int64_ int64 `json:"int64,omitempty"` // None Number float64 `json:"number"` // None Float float32 `json:"float,omitempty"` // None Double float64 `json:"double"` // None String_ string `json:"string,omitempty"` // None PatternWithoutDelimiter string `json:"pattern_without_delimiter"` // None Byte_ string `json:"byte"` // None Binary **os.File `json:"binary,omitempty"` // None Date string `json:"date,omitempty"` // None DateTime time.Time `json:"dateTime,omitempty"` // None Password string `json:"password,omitempty"` // None Callback string `json:"callback,omitempty"` }
type Body3 ¶
type Body3 struct { // None Integer int32 `json:"integer,omitempty"` // None Int32_ int32 `json:"int32,omitempty"` // None Int64_ int64 `json:"int64,omitempty"` // None Number float64 `json:"number"` // None Float float32 `json:"float,omitempty"` // None Double float64 `json:"double"` // None String_ string `json:"string,omitempty"` // None PatternWithoutDelimiter string `json:"pattern_without_delimiter"` // None Byte_ string `json:"byte"` // None Binary **os.File `json:"binary,omitempty"` // None Date string `json:"date,omitempty"` // None DateTime time.Time `json:"dateTime,omitempty"` // None Password string `json:"password,omitempty"` // None Callback string `json:"callback,omitempty"` }
type Body4 ¶
type Body4 struct { // Form parameter enum test (string array) EnumFormStringArray []string `json:"enum_form_string_array,omitempty"` // Form parameter enum test (string) EnumFormString string `json:"enum_form_string,omitempty"` // Query parameter enum test (double) EnumQueryDouble float64 `json:"enum_query_double,omitempty"` }
type Body8 ¶
type Body8 struct {
Parrots []InlineResponseItems200 `json:"parrots,omitempty"`
}
type Capitalization ¶
type Capitalization struct { SmallCamel string `json:"smallCamel,omitempty"` CapitalCamel string `json:"CapitalCamel,omitempty"` SmallSnake string `json:"small_Snake,omitempty"` CapitalSnake string `json:"Capital_Snake,omitempty"` SCAETHFlowPoints string `json:"SCA_ETH_Flow_Points,omitempty"` // Name of the pet ATT_NAME string `json:"ATT_NAME,omitempty"` }
type ClassModel ¶
type ClassModel struct {
Class string `json:"_class,omitempty"`
}
Model for testing model with \"_class\" property
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type DogApiDeleteDogOpts ¶
type DogApiService ¶
type DogApiService service
func (*DogApiService) AddDog ¶
DogApiService Add a new dog to the store
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Dog object that needs to be added to the store
func (*DogApiService) DeleteDog ¶
func (a *DogApiService) DeleteDog(ctx context.Context, dogId int64, localVarOptionals *DogApiDeleteDogOpts) (*http.Response, error)
func (*DogApiService) GetDogById ¶
DogApiService Find dog by ID Returns a single dog
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param dogId ID of dog to return
@return Dog
func (*DogApiService) UpdateDog ¶
DogApiService Update an existing dog
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Dog object that needs to be added.
func (*DogApiService) UpdateDogWithForm ¶
func (a *DogApiService) UpdateDogWithForm(ctx context.Context, dogId int64, localVarOptionals *DogApiUpdateDogWithFormOpts) (*http.Response, error)
type EnumArrays ¶
type FakeApiService ¶
type FakeApiService service
func (*FakeApiService) FakeOuterBooleanSerialize ¶
func (a *FakeApiService) FakeOuterBooleanSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterBooleanSerializeOpts) (bool, *http.Response, error)
func (*FakeApiService) FakeOuterCompositeSerialize ¶
func (a *FakeApiService) FakeOuterCompositeSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterCompositeSerializeOpts) (OuterComposite, *http.Response, error)
func (*FakeApiService) FakeOuterNumberSerialize ¶
func (a *FakeApiService) FakeOuterNumberSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterNumberSerializeOpts) (float64, *http.Response, error)
func (*FakeApiService) FakeOuterStringSerialize ¶
func (a *FakeApiService) FakeOuterStringSerialize(ctx context.Context, localVarOptionals *FakeApiFakeOuterStringSerializeOpts) (string, *http.Response, error)
func (*FakeApiService) TestClientModel ¶
func (a *FakeApiService) TestClientModel(ctx context.Context, body Client) (Client, *http.Response, error)
FakeApiService To test \"client\" model To test \"client\" model
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body client model
@return Client
func (*FakeApiService) TestEndpointParameters ¶
func (a *FakeApiService) TestEndpointParameters(ctx context.Context, body Body2) (*http.Response, error)
FakeApiService Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
func (*FakeApiService) TestEnumParameters ¶
func (a *FakeApiService) TestEnumParameters(ctx context.Context, localVarOptionals *FakeApiTestEnumParametersOpts) (*http.Response, error)
func (*FakeApiService) TestEnumRequestBody ¶
func (a *FakeApiService) TestEnumRequestBody(ctx context.Context, localVarOptionals *FakeApiTestEnumRequestBodyOpts) (*http.Response, error)
func (*FakeApiService) TestInlineAdditionalProperties ¶
func (a *FakeApiService) TestInlineAdditionalProperties(ctx context.Context, body map[string]string) (*http.Response, error)
FakeApiService test inline additionalProperties
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body request body
func (*FakeApiService) TestJsonFormData ¶
FakeApiService test json serialization of form data
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
type FakeClassnameTags123ApiService ¶
type FakeClassnameTags123ApiService service
func (*FakeClassnameTags123ApiService) TestClassname ¶
func (a *FakeClassnameTags123ApiService) TestClassname(ctx context.Context, body Client) (Client, *http.Response, error)
FakeClassnameTags123ApiService To test class name in snake case
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body client model
@return Client
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type HasOnlyReadOnly ¶
type InlineArrayItemsAllPetsResponse ¶
type InlineArrayItemsAllPetsResponse struct { }
type InlineResponse200 ¶
type InlineResponse200 struct {
Parrots []InlineResponse2001 `json:"parrots,omitempty"`
}
type InlineResponse2001 ¶
type InlineResponse2001 struct { }
type InlineResponseItems200 ¶
type InlineResponseItems200 struct { }
type MasterApiService ¶
type MasterApiService service
func (*MasterApiService) MasterOperation ¶
func (a *MasterApiService) MasterOperation(ctx context.Context) ([]PartMaster, *http.Response, error)
MasterApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []PartMaster
type Model200Response ¶
type Model200Response struct { Name int32 `json:"name,omitempty"` Class string `json:"class,omitempty"` }
Model for testing model name starting with number
type ModelApiResponse ¶
type ModelReturn ¶
type ModelReturn struct {
Return_ int32 `json:"return,omitempty"`
}
Model for testing reserved words
type Name ¶
type Name struct { Name int32 `json:"name"` SnakeCase int32 `json:"snake_case,omitempty"` Property string `json:"property,omitempty"` Var123Number int32 `json:"123Number,omitempty"` }
Model for testing model name same as property name
type NullableEnumModel ¶
type NullableEnumModel struct {
EnumProp string `json:"enumProp,omitempty"`
}
type NumberOnly ¶
type NumberOnly struct {
JustNumber float64 `json:"JustNumber,omitempty"`
}
type OneOfPartMasterOrigin ¶
type OneOfinlineResponse2001 ¶
type OneOfvalMembersValMember ¶
type OneOfvalMembersValMember struct { ValMemberChoice1 ValMemberChoice2 }
type OuterComposite ¶
type ParrotApiAddParrotOpts ¶
type ParrotApiService ¶
type ParrotApiService service
func (*ParrotApiService) AddParrot ¶
func (a *ParrotApiService) AddParrot(ctx context.Context, localVarOptionals *ParrotApiAddParrotOpts) (InlineResponse2001, *http.Response, error)
func (*ParrotApiService) GetParrots ¶
func (a *ParrotApiService) GetParrots(ctx context.Context) ([]InlineResponseItems200, *http.Response, error)
ParrotApiService get Parrots
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []InlineResponseItems200
func (*ParrotApiService) UpdateParrots ¶
func (a *ParrotApiService) UpdateParrots(ctx context.Context, localVarOptionals *ParrotApiUpdateParrotsOpts) (InlineResponse200, *http.Response, error)
type PartMaster ¶
type PartMaster struct { Destination *OneOfPartMasterDestination `json:"destination,omitempty"` Origin *OneOfPartMasterOrigin `json:"origin,omitempty"` }
type PetApiDeletePetOpts ¶
type PetApiService ¶
type PetApiService service
func (*PetApiService) AddPet ¶
PetApiService Add a new pet to the store
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Pet object that needs to be added to the store
func (*PetApiService) DeletePet ¶
func (a *PetApiService) DeletePet(ctx context.Context, petId int64, localVarOptionals *PetApiDeletePetOpts) (*http.Response, error)
func (*PetApiService) DoCategoryStuff ¶
func (a *PetApiService) DoCategoryStuff(ctx context.Context, localVarOptionals *PetApiDoCategoryStuffOpts) (ModelApiResponse, *http.Response, error)
func (*PetApiService) FindPetsByStatus ¶
func (a *PetApiService) FindPetsByStatus(ctx context.Context, status []string) ([]Pet, *http.Response, error)
PetApiService Finds Pets by status Multiple status values can be provided with comma separated strings
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param status Status values that need to be considered for filter
@return []Pet
func (*PetApiService) FindPetsByTags ¶
func (a *PetApiService) FindPetsByTags(ctx context.Context, tags []string) ([]Pet, *http.Response, error)
PetApiService Finds Pets by tags Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tags Tags to filter by
@return []Pet
func (*PetApiService) GetAllPets ¶
func (a *PetApiService) GetAllPets(ctx context.Context) ([]InlineArrayItemsAllPetsResponse, *http.Response, error)
PetApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []InlineArrayItemsAllPetsResponse
func (*PetApiService) GetPetById ¶
PetApiService Find pet by ID Returns a single pet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param petId ID of pet to return
@return Pet
func (*PetApiService) GetRandomPet ¶
func (a *PetApiService) GetRandomPet(ctx context.Context) (SinglePetResponse, *http.Response, error)
PetApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SinglePetResponse
func (*PetApiService) UpdatePet ¶
PetApiService Update an existing pet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Pet object that needs to be added to the store
func (*PetApiService) UpdatePetWithForm ¶
func (a *PetApiService) UpdatePetWithForm(ctx context.Context, petId int64, localVarOptionals *PetApiUpdatePetWithFormOpts) (*http.Response, error)
func (*PetApiService) UploadFile ¶
func (a *PetApiService) UploadFile(ctx context.Context, petId int64, localVarOptionals *PetApiUploadFileOpts) (ModelApiResponse, *http.Response, error)
type PetApiUploadFileOpts ¶
type Pup ¶
type Pup struct { Id int64 `json:"id,omitempty"` Category2 *Category `json:"category2,omitempty"` Pets []SubCategoryPets `json:"pets,omitempty"` }
type ReadOnlyFirst ¶
type SinglePetResponse ¶
type SinglePetResponse struct {
Pet *OneOfSinglePetResponsePet `json:"pet,omitempty"`
}
type SpecialModelName ¶
type SpecialModelName struct {
SpecialPropertyName int64 `json:"$special[property.name],omitempty"`
}
type StoreApiService ¶
type StoreApiService service
func (*StoreApiService) DeleteOrder ¶
StoreApiService Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orderId ID of the order that needs to be deleted
func (*StoreApiService) GetInventory ¶
func (a *StoreApiService) GetInventory(ctx context.Context) (map[string]int32, *http.Response, error)
StoreApiService Returns pet inventories by status Returns a map of status codes to quantities
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return map[string]int32
func (*StoreApiService) GetOrderById ¶
func (a *StoreApiService) GetOrderById(ctx context.Context, orderId int64) (Order, *http.Response, error)
StoreApiService Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orderId ID of pet that needs to be fetched
@return Order
func (*StoreApiService) PlaceOrder ¶
func (a *StoreApiService) PlaceOrder(ctx context.Context, body Order) (Order, *http.Response, error)
StoreApiService Place an order for a pet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body order placed for purchasing the pet
@return Order
type SubCategory ¶
type SubCategory struct { Category *AllOfSubCategoryCategory `json:"category,omitempty"` Category2 *Category `json:"category2,omitempty"` Pets []SubCategoryPets `json:"pets,omitempty"` }
type SubCategoryPets ¶
type User ¶
type User struct { Id int64 `json:"id,omitempty"` Username string `json:"username,omitempty"` FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` Email string `json:"email,omitempty"` Password string `json:"password,omitempty"` Phone string `json:"phone,omitempty"` // User Status UserStatus int32 `json:"userStatus,omitempty"` }
type UserApiService ¶
type UserApiService service
func (*UserApiService) CreateUser ¶
UserApiService Create user This can only be done by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Created user object
func (*UserApiService) CreateUsersWithArrayInput ¶
func (a *UserApiService) CreateUsersWithArrayInput(ctx context.Context, body []User) (*http.Response, error)
UserApiService Creates list of users with given input array
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body List of user object
func (*UserApiService) CreateUsersWithListInput ¶
func (a *UserApiService) CreateUsersWithListInput(ctx context.Context, body []User) (*http.Response, error)
UserApiService Creates list of users with given input array
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body List of user object
func (*UserApiService) DeleteUser ¶
UserApiService Delete user This can only be done by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The name that needs to be deleted
func (*UserApiService) GetUserByName ¶
func (a *UserApiService) GetUserByName(ctx context.Context, username string) (User, *http.Response, error)
UserApiService Get user by user name
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The name that needs to be fetched. Use user1 for testing.
@return User
func (*UserApiService) LoginUser ¶
func (a *UserApiService) LoginUser(ctx context.Context, username string, password string) (string, *http.Response, error)
UserApiService Logs user into the system
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The user name for login
- @param password The password for login in clear text
@return string
func (*UserApiService) LogoutUser ¶
UserApiService Logs out current logged in user session
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*UserApiService) UpdateUser ¶
func (a *UserApiService) UpdateUser(ctx context.Context, body User, username string) (*http.Response, error)
UserApiService Updated user This can only be done by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Updated user object
- @param username name that need to be deleted
type UserWrapper ¶
type UserWrapper struct {
Users *[]User `json:"users,omitempty"`
}
type ValMemberChoice1 ¶
type ValMemberChoice1 struct { // Business Term: Date Of Birth Definition: The date of birth of the member. Purpose: To be able to uniquely identify a member within a scheme. ValDateOfBirth string `json:"val_date_of_birth"` // Business Term: Leaving Date Definition: The date the member left/is due to leave the scheme. Purpose: To identify those members that have left or are due to leave the scheme. To be able to calculate the benefit insured/premium payable in respect of the member/category. ValLeavingDate string `json:"val_leaving_date,omitempty"` }
Business Term: Scheme Member Definition: Information about a Member of the Scheme. Purpose: To have enough information to be able to produce a Statement of Account indicating premium due.
type ValMemberChoice2 ¶
type ValMemberChoice2 struct { // Business Term: Leaving Date Definition: The date the member left/is due to leave the scheme. Purpose: To identify those members that have left or are due to leave the scheme. To be able to calculate the benefit insured/premium payable in respect of the member/category. ValLeavingDate string `json:"val_leaving_date,omitempty"` }
Business Term: Scheme Member Definition: Information about a Member of the Scheme. Purpose: To have enough information to be able to produce a Statement of Account indicating premium due.
type ValMembers ¶
type ValMembers struct { // Business Term: Scheme Member Definition: Information about a Member of the Scheme. Purpose: To have enough information to be able to produce a Statement of Account indicating premium due. ValMember []ValMembersValMember `json:"val_member"` }
Business Term: Scheme Members Definition: Information about the Members of the Scheme. Purpose: To have enough information to be able to produce a Statement of Account indicating premium due.
type ValMembersValMember ¶
type ValMembersValMember struct { }
Source Files ¶
- api_animal.go
- api_another_fake.go
- api_dog.go
- api_fake.go
- api_fake_classname_tags123.go
- api_master.go
- api_parrot.go
- api_pet.go
- api_store.go
- api_user.go
- client.go
- configuration.go
- model_200_response.go
- model_additional_properties_class.go
- model_all_of_sub_category_category.go
- model_animal.go
- model_any_ofbody_9.go
- model_any_ofinline_response_items200.go
- model_api_response.go
- model_array_of_array_of_number_only.go
- model_array_of_number_only.go
- model_body.go
- model_body_1.go
- model_body_2.go
- model_body_3.go
- model_body_4.go
- model_body_5.go
- model_body_6.go
- model_body_7.go
- model_body_8.go
- model_body_9.go
- model_capitalization.go
- model_cat.go
- model_cat_all_of_2.go
- model_category.go
- model_class_model.go
- model_client.go
- model_dog.go
- model_dog_all_of_2.go
- model_enum_arrays.go
- model_enum_class.go
- model_has_only_read_only.go
- model_inline_array_items_all_pets_response.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_items200.go
- model_list.go
- model_macaw.go
- model_mixed_properties_and_additional_properties_class.go
- model_name.go
- model_nullable_enum_model.go
- model_number_only.go
- model_one_of_part_master_destination.go
- model_one_of_part_master_origin.go
- model_one_of_pup.go
- model_one_of_single_pet_response_pet.go
- model_one_ofinline_array_items_all_pets_response.go
- model_one_ofinline_response_200_1.go
- model_one_ofval_members_val_member.go
- model_order.go
- model_outer_composite.go
- model_outer_enum.go
- model_parakeet.go
- model_part_four.go
- model_part_master.go
- model_part_one.go
- model_part_three.go
- model_part_two.go
- model_pet.go
- model_pup.go
- model_read_only_first.go
- model_return.go
- model_single_pet_response.go
- model_special_model_name.go
- model_sub_category.go
- model_sub_category_pets.go
- model_tag.go
- model_user.go
- model_user_wrapper.go
- model_val_member_choice1.go
- model_val_member_choice2.go
- model_val_members.go
- model_val_members_val_member.go
- response.go