File: //opt/go/pkg/mod/github.com/go-openapi/
[email protected]/fixtures/bugs/1796/queryIssue.json
{
"swagger": "2.0",
"info": {
"title": "Query Model Issue",
"description": "Test for Query Model Issue",
"version": "0.0.1"
},
"schemes": ["http"],
"produces": ["application/json"],
"paths": {
"/search": {
"post": {
"operationId": "searchObject",
"tags": ["Query"],
"produces": ["application/json"],
"consumes": ["application/json"],
"security": [
{
"Bearer": []
}
],
"summary":
"Get a list of the algorithms available in the AlgorithmBank instance. By default returns the first 10 results.",
"parameters": [
{
"name": "query",
"in": "body",
"required": true,
"schema": {
"$ref": "./models/query.json#/Query"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"400": {
"description": "Invalid parameters."
},
"401": {
"description": "Unauthenticated."
},
"403": {
"description": "User is not authorized to perform the action",
"schema": {
"type": "string"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"type": "string"
}
}
}
}
}
},
"definitions": {
}
}