Add a new pet to the store
Add new pet to the store inventory.
Header Parameters
- Accept-Language string
Default value:
en-AUThe language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US
Example: en-US
Cookie Parameters
- cookieParam int64 required
Some cookie
- application/json
- application/xml
Request Body required
Pet object that needs to be added to the store
category Category
Categories this pet belongs to
name stringPossible values:
non-emptyCategory name
sub object
Test Sub Category
prop1 stringDumb Property
- name string required
The name given to a pet
- photoUrls url[] required
Possible values:
<= 20The list of URL to a cute photos featuring pet
- friend
tags Tag[] required
Possible values:
>= 1Tags attached to the pet
Array [name stringPossible values:
non-emptyTag name
]- status string
Possible values: [
available,pending,sold]Pet status in the store
- cat
- dog
- bee
- huntingSkill string required
Possible values: [
clueless,lazy,adventurous,aggressive]Default value:
lazyThe measured skill for hunting
- packSize int32 required
Possible values:
>= 1Default value:
1The size of the pack the dog is from
- honeyPerDay number required
Average amount of honey produced per day in ounces
Possible values: [cat, dog, bee]
Type of a pet
Request Body required
Pet object that needs to be added to the store
- name string
hooray
- 405
Invalid input