Download OpenAPI specification:Download
A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification
Returns all pets from the system that the user has access to
tags | Array of strings tags to filter by |
limit | integer <int32> maximum number of results to return |
pet response
unexpected error
Creates a new pet in the store. Duplicates are allowed
Pet to add to the store
name required | string |
tag | string |
pet response
unexpected error
Returns a user based on a single ID, if the user does not have access to the pet
id required | integer <int64> ID of pet to fetch |
pet response
unexpected error
deletes a single pet based on the ID supplied
id required | integer <int64> ID of pet to delete |
pet deleted
unexpected error