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