github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/500/swagger.yml (about) 1 swagger: '2.0' 2 info: 3 version: 1.0.0 4 title: Test 5 description: "Test" 6 termsOfService: 'test.com/' 7 host: api.test.com 8 basePath: /v1 9 schemes: 10 - https 11 consumes: 12 - application/json 13 produces: 14 - application/json 15 paths: 16 /payment/{invoice_id}/payments/{payment_id}: 17 get: 18 description: Get payment info 19 tags: 20 - Invoices 21 - Payments 22 - Drama 23 - Failure 24 - HotMess 25 operationId: getPaymentByID 26 parameters: 27 - name: invoice_id 28 in: path 29 description: Invoice ID 30 required: true 31 type: string 32 - name: payment_id 33 in: path 34 description: Payment ID 35 required: true 36 type: string 37 responses: 38 '200': 39 description: Simple response