github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2650/2650.yaml (about) 1 swagger: "2.0" 2 info: 3 contact: 4 email: support@swagger.com 5 name: API Support 6 url: https://swagger.com 7 title: My API 8 version: "1.0" 9 host: swagger.com:80 10 basePath: /api/v1 11 paths: 12 /api/runner: 13 get: 14 consumes: 15 - application/json 16 operationId: Get Runner 17 produces: 18 - application/json 19 responses: 20 "200": 21 description: ok 22 schema: 23 $ref: '#/definitions/Runner' 24 tags: 25 - Runner 26 post: 27 consumes: 28 - application/json 29 operationId: Post Runner 30 produces: 31 - application/json 32 parameters: 33 - name: body 34 in: body 35 required: true 36 schema: 37 $ref: '#/definitions/Runner' 38 39 responses: 40 "200": 41 description: ok 42 schema: 43 $ref: '#/definitions/RunnerGroup' 44 tags: 45 - Runner 46 definitions: 47 Runner: 48 properties: 49 group_name: 50 type: string 51 type: object 52 RunnerGroup: 53 properties: 54 name: 55 description: Name should be unique per tenant 56 type: string 57 type: object