Files
swagger-cli/tests/fixtures/golden/show.json

51 lines
1023 B
JSON

{
"data": {
"deprecated": false,
"description": null,
"method": "GET",
"operation_id": "listPets",
"parameters": [
{
"description": "Maximum number of items to return",
"in": "query",
"name": "limit",
"required": false
},
{
"description": "Pagination offset",
"in": "query",
"name": "offset",
"required": false
}
],
"path": "/pets",
"request_body": null,
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/Pet"
},
"type": "array"
}
}
},
"description": "A list of pets"
}
},
"security": [],
"summary": "List all pets",
"tags": [
"pets"
]
},
"meta": {
"command": "show",
"duration_ms": 0,
"schema_version": 1,
"tool_version": "MASKED"
},
"ok": true
}