Skip to main content

Swagger Petstore (1.0.0)

Download OpenAPI specification:Download

License: MIT

pets

List all pets TEST

query Parameters
limit
integer <int32>

How many items to return at one time (max 100)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a pet

Responses

Response samples

Content type
application/json
{
  • "code": 0,
  • "message": "string"
}

Info for a specific pet

path Parameters
petId
required
string

The id of the pet to retrieve

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "tag": "string"
}