| { | |
| "operationId": "deletePet", | |
| "parameters":[ | |
| { | |
| "name":"api_key", | |
| "in":"header", | |
| "schema":{ | |
| "type":"string" | |
| } | |
| }, | |
| { | |
| "name":"paramNumber", | |
| "in":"query", | |
| "description":"Pet id to delete", | |
| "required":true, | |
| "schema":{ | |
| "type":"integer", | |
| "format":"int64", | |
| "enum": [ | |
| 12, | |
| 21 | |
| ] | |
| } | |
| } | |
| ], | |
| "requestBody": { | |
| "description": "Pet object that needs to be added to the store", | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "integer", | |
| "enum": [ | |
| 1, | |
| 2, | |
| 3 | |
| ] | |
| }, | |
| "category": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "integer", | |
| "enum": [ | |
| 4, | |
| 5, | |
| 6 | |
| ] | |
| }, | |
| "name": { | |
| "type": "string", | |
| "enum": [ | |
| "cat_1", | |
| "cat_2", | |
| "cat_3" | |
| ] | |
| } | |
| } | |
| }, | |
| "tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "integer", | |
| "enum": [ | |
| 7, | |
| 8, | |
| 9 | |
| ] | |
| }, | |
| "name": { | |
| "type": "string", | |
| "enum": [ | |
| "aTag", | |
| "bTag", | |
| "cTag" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "responses":{ | |
| "200":{ | |
| "description":"Successful operation", | |
| "content":{} | |
| } | |
| } | |
| } |