POST
/petAdd a new pet to the store
Adds a new **pet** to the store inventory. The pet's `status` defaults to `available`.
Security
petstore_authwrite:pets, read:pets
Request bodyrequired
Pet object that needs to be added to the store
application/json
idinteger · int64namestring requiredcategoryCategoryphotoUrlsarray requiredarray of stringtagsarrayarray ofstatusstringpet status in the store
string"available""pending""sold"
Responses
- 200 Successful operation application/json
- 405 Invalid input