Add a new pet to the store

SecurityOAuth2: petstore_auth
Request
Request Body schema:

Pet object that needs to be added to the store

id
integer <int64>
object (Category)
name
required
string
photoUrls
required
Array of strings
Array of objects (Tag)
status
string

pet status in the store

Enum: "available" "pending" "sold"
post
/pet
Request samples
{ "id": 0, "category": { "id": 0, "name": "string" }, "name": "doggie", "photoUrls": [ "string" ], "tags": [ ], "status": "available" }
Responses

200

OK

405

Invalid input