Create a pet
POST/pets
Creates a new pet in the store.
Request
- application/json
Body
required
The pet to create
name stringrequired
tag string
Responses
- 201
The created pet
- application/json
- Schema
- Example (from schema)
Schema
id int64required
name stringrequired
tag string
{
"id": 0,
"name": "string",
"tag": "string"
}
Loading...