Schemas
Order
- objectExample:
{"id":0,"petId":0,"quantity":0,"shipDate":"2019-08-24T14:15:22Z","status":"placed","complete":false}Properties:idinteger:int64Example:0petIdinteger:int64Example:0quantityinteger:int32Example:0shipDatestring:date-timeExample:"2019-08-24T14:15:22Z"statusstringOrder StatusExample:"placed"Enum:placedapproveddeliveredcompletebooleanExample:false
User
- objectExample:
{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}Properties:idinteger:int64Example:0usernamestringExample:"string"firstNamestringExample:"string"lastNamestringExample:"string"emailstringExample:"string"passwordstringExample:"string"phonestringExample:"string"userStatusinteger:int32User StatusExample:0
Category
- objectExample:
{"id":0,"name":"string"}Properties:idinteger:int64Example:0namestringExample:"string"
Tag
- objectExample:
{"id":0,"name":"string"}Properties:idinteger:int64Example:0namestringExample:"string"
Pet
- objectExample:
{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}Properties:idinteger:int64RequiredExample:0categoryobjectCategoryExample:{"id":0,"name":"string"}namestringRequiredExample:"doggie"photoUrlsarray<string>RequiredExample:["string"]Items:- stringExample:
"string"
tagsarrayExample:[{"id":0,"name":"string"}]Items:- objectTagExample:
{"id":0,"name":"string"}
statusstringpet status in the storeExample:"available"Enum:availablependingsold
ApiResponse
- objectExample:
{"code":0,"type":"string","message":"string"}Properties:codeinteger:int32Example:0typestringExample:"string"messagestringExample:"string"
Request Bodies
UserArray
Required
List of user object
Content Type:
application/json
- Schema
- arrayExample:
[{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}]Items:- objectUserExample:
{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}
Pet
Required
Pet object that needs to be added to the store
Content Type:
application/json
- Schema
- objectPetExample:
{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}Properties:idinteger:int64RequiredExample:0categoryobjectCategoryExample:{"id":0,"name":"string"}namestringRequiredExample:"doggie"photoUrlsarray<string>RequiredExample:["string"]Items:- stringExample:
"string"
tagsarrayExample:[{"id":0,"name":"string"}]Items:- objectTagExample:
{"id":0,"name":"string"}
statusstringpet status in the storeExample:"available"Enum:availablependingsold