github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/1796/queryIssue.json (about) 1 { 2 "swagger": "2.0", 3 "info": { 4 "title": "Query Model Issue", 5 "description": "Test for Query Model Issue", 6 "version": "0.0.1" 7 }, 8 "schemes": ["http"], 9 "produces": ["application/json"], 10 "paths": { 11 12 "/search": { 13 "post": { 14 "operationId": "searchObject", 15 "tags": ["Query"], 16 "produces": ["application/json"], 17 "consumes": ["application/json"], 18 "security": [ 19 { 20 "Bearer": [] 21 } 22 ], 23 "summary": 24 "Get a list of the algorithms available in the AlgorithmBank instance. By default returns the first 10 results.", 25 "parameters": [ 26 { 27 "name": "query", 28 "in": "body", 29 "required": true, 30 "schema": { 31 "$ref": "./models/query.json#/Query" 32 } 33 } 34 ], 35 "responses": { 36 "200": { 37 "description": "OK", 38 "schema": { 39 "type": "string" 40 } 41 }, 42 "400": { 43 "description": "Invalid parameters." 44 }, 45 "401": { 46 "description": "Unauthenticated." 47 }, 48 "403": { 49 "description": "User is not authorized to perform the action", 50 "schema": { 51 "type": "string" 52 } 53 }, 54 "500": { 55 "description": "Internal Server Error", 56 "schema": { 57 "type": "string" 58 } 59 } 60 } 61 } 62 } 63 }, 64 "definitions": { 65 66 } 67 } 68