1.0.0
OAS 2.0
Swagger Petstore
A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification
Base URL
Client Libraries
Shell
Ruby
Node.js
PHP
Python
More
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
A list of pets.
curl --request GET \
--url http://petstore.swagger.io/api/pets
[
{
"id": 1,
"name": "…",
"tag": "…"
}
]
A list of pets.