Схемы
Order
- objectПример:
{"id":0,"petId":0,"quantity":0,"shipDate":"2019-08-24T14:15:22Z","status":"placed","complete":false}
Свойства:id
integer:int64Пример:0
petId
integer:int64Пример:0
quantity
integer:int32Пример:0
shipDate
string:date-timeПример:"2019-08-24T14:15:22Z"
status
stringOrder StatusПример:"placed"
Перечисление:placed
approved
delivered
complete
booleanПример:false
User
User
- objectПример:
{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}
Свойства:id
integer:int64Пример:0
username
stringПример:"string"
firstName
stringПример:"string"
lastName
stringПример:"string"
email
stringПример:"string"
password
stringПример:"string"
phone
stringПример:"string"
userStatus
integer:int32User StatusПример:0
Category
Category
- objectПример:
{"id":0,"name":"string"}
Свойства:id
integer:int64Пример:0
name
stringПример:"string"
Tag
Tag
- objectПример:
{"id":0,"name":"string"}
Свойства:id
integer:int64Пример:0
name
stringПример:"string"
Pet
Pet
- objectПример:
{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}
Свойства:id
integer:int64ОбязательныйПример:0
category
objectCategoryПример:{"id":0,"name":"string"}
name
stringОбязательныйПример:"doggie"
photoUrls
array<string>ОбязательныйПример:["string"]
Items:- stringПример:
"string"
tags
arrayПример:[{"id":0,"name":"string"}]
Items:- objectTagПример:
{"id":0,"name":"string"}
status
stringpet status in the storeПример:"available"
Перечисление:available
pending
sold
ApiResponse
- objectПример:
{"code":0,"type":"string","message":"string"}
Свойства:code
integer:int32Пример:0
type
stringПример:"string"
message
stringПример:"string"
Тела запросов
UserArray
Обязательный
List of user object
Тип содержимого:
application/json
- Schema
- arrayПример:
[{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}]
Items:- objectUserПример:
{"id":0,"username":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","userStatus":0}
Pet
Обязательный
Pet object that needs to be added to the store
Тип содержимого:
application/json
- Schema
- objectPetПример:
{"id":0,"category":{"id":0,"name":"string"},"name":"doggie","photoUrls":["string"],"tags":[{"id":0,"name":"string"}],"status":"available"}
Свойства:id
integer:int64ОбязательныйПример:0
category
objectCategoryПример:{"id":0,"name":"string"}
name
stringОбязательныйПример:"doggie"
photoUrls
array<string>ОбязательныйПример:["string"]
Items:- stringПример:
"string"
tags
arrayПример:[{"id":0,"name":"string"}]
Items:- objectTagПример:
{"id":0,"name":"string"}
status
stringpet status in the storeПример:"available"
Перечисление:available
pending
sold