File: resourceWithLinkedDefinitions_part1.yaml

package info (click to toggle)
golang-github-go-openapi-loads 0.0~git20160704.0.18441df-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,052 kB
  • sloc: sh: 16; makefile: 3
file content (7 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
get:
  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: array, items: {type: string}, collectionFormat: csv}]
  responses: {'200': {description: 'pet response', schema: {$ref: Pet}}, default: {description: 'error payload', schema: {$ref: ErrorModel}}}