Description

Add a new pet to the store

Path parameters

None

Query parameters

None

Body parameters

Pet object that needs to be added to the store

NameTypeDescriptionRequired?
id integer <int64>
category object<Category>
name string REQUIRED
photoUrls array REQUIRED
tags array
status string Values: available pending sold
pet status in the store

Content types:

  • application/json

  • application/xml

Responses

CodeReturns
405 Invalid input

Content types:

  • application/xml

  • application/json