Debian Codegraph @

fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml

raw
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 - {name: includeDetails, in: query, description: 'include details in response', required: true, type: boolean}
10 responses:
11 '200': {description: 'a pet to be returned', schema: {$ref: Pet}}
12 default: {description: 'Unexpected error', schema: {$ref: ErrorModel}}