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

72 lines
1.5 KiB
JSON

{
"data": {
"applied_filters": {},
"endpoints": [
{
"deprecated": false,
"method": "GET",
"operation_id": "listPets",
"path": "/pets",
"summary": "List all pets",
"tags": [
"pets"
]
},
{
"deprecated": false,
"method": "POST",
"operation_id": "createPet",
"path": "/pets",
"summary": "Create a pet",
"tags": [
"pets"
]
},
{
"deprecated": false,
"method": "GET",
"operation_id": "showPetById",
"path": "/pets/{petId}",
"summary": "Get a pet by ID",
"tags": [
"pets"
]
},
{
"deprecated": true,
"method": "DELETE",
"operation_id": "deletePet",
"path": "/pets/{petId}",
"summary": "Delete a pet",
"tags": [
"pets"
]
},
{
"deprecated": false,
"method": "GET",
"operation_id": "getInventory",
"path": "/store/inventory",
"summary": "Get store inventory",
"tags": [
"store"
]
}
],
"filtered": 5,
"meta": {
"alias": "petstore",
"cached_at": "MASKED_TIMESTAMP",
"duration_ms": 0,
"spec_version": "1.0.0"
},
"total": 5
},
"meta": {
"command": "list",
"duration_ms": 0,
"schema_version": 1,
"tool_version": "MASKED"
},
"ok": true
}