File: resourceWithLinkedDefinitions_part1.yaml

package info (click to toggle)
golang-github-go-openapi-loads 0.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,208 kB
  • sloc: makefile: 4
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}}}