| 1 |
description: 'Returns a pet based on ID' |
| 2 |
summary: 'Find pet by ID' |
| 3 |
operationId: getPetsById |
| 4 |
produces: |
| 5 |
- application/json |
| 6 |
- text/html |
| 7 |
parameters: |
| 8 |
- {name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: integer, format: int64} |
| 9 |
responses: |
| 10 |
'200': {description: fun, schema: {$ref: Pet}} |
| 11 |
'400': {description: 'Invalid ID supplied <= this is purely for documentation', schema: {$ref: ErrorModel}} |
| 12 |
default: {description: 'Unexpected error', schema: {$ref: ErrorModel}} |