fixtures/yaml/resources/resourceWithLinkedDefinitions_part1.yaml
raw| 1 | get: |
| 2 | description: 'Returns a pet based on ID' |
| 3 | summary: 'Find pet by ID' |
| 4 | operationId: getPetsById |
| 5 | produces: [application/json, text/html] |
| 6 | parameters: [{name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: array, items: {type: string}, collectionFormat: csv}] |
| 7 | responses: {'200': {description: 'pet response', schema: {$ref: Pet}}, default: {description: 'error payload', schema: {$ref: ErrorModel}}} |