|
|
@ -1163,279 +1163,237 @@ def test_openapi_schema(): |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"/query/sequence-params": { |
|
|
"/query/sequence-params": { |
|
|
"get": { |
|
|
"get": { |
|
|
"summary": "Get Sequence Query Params", |
|
|
"summary": "Get Sequence Query Params", |
|
|
"operationId": "get_sequence_query_params_query_sequence_params_get", |
|
|
"operationId": "get_sequence_query_params_query_sequence_params_get", |
|
|
"parameters": [ |
|
|
"parameters": [ |
|
|
{ |
|
|
{ |
|
|
"required": False, |
|
|
"required": False, |
|
|
"schema": { |
|
|
"schema": { |
|
|
"additionalProperties": { |
|
|
"additionalProperties": { |
|
|
"items": { |
|
|
"items": {"type": "integer"}, |
|
|
"type": "integer" |
|
|
"type": "array", |
|
|
|
|
|
}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Query", |
|
|
|
|
|
"default": {}, |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "query", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"responses": { |
|
|
|
|
|
"200": { |
|
|
|
|
|
"description": "Successful Response", |
|
|
|
|
|
"content": {"application/json": {"schema": {}}}, |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
"type": "array" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"type": "object", |
|
|
|
|
|
"title": "Query", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
}, |
|
|
"name": "query", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
} |
|
|
} |
|
|
], |
|
|
}, |
|
|
"responses": { |
|
|
"/query/mapping-params": { |
|
|
"200": { |
|
|
"get": { |
|
|
"description": "Successful Response", |
|
|
"summary": "Get Mapping Query Params", |
|
|
"content": { |
|
|
"operationId": "get_mapping_query_params_query_mapping_params_get", |
|
|
"application/json": { |
|
|
"parameters": [ |
|
|
"schema": {} |
|
|
{ |
|
|
} |
|
|
"required": False, |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
"schema": { |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"additionalProperties": {"type": "string"}, |
|
|
} |
|
|
"type": "object", |
|
|
|
|
|
"title": "Queries", |
|
|
|
|
|
"default": {}, |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "queries", |
|
|
|
|
|
"in": "query", |
|
|
} |
|
|
} |
|
|
} |
|
|
], |
|
|
} |
|
|
"responses": { |
|
|
} |
|
|
"200": { |
|
|
} |
|
|
"description": "Successful Response", |
|
|
}, |
|
|
"content": {"application/json": {"schema": {}}}, |
|
|
"/query/mapping-params": { |
|
|
}, |
|
|
"get": { |
|
|
"422": { |
|
|
"summary": "Get Mapping Query Params", |
|
|
"description": "Validation Error", |
|
|
"operationId": "get_mapping_query_params_query_mapping_params_get", |
|
|
"content": { |
|
|
"parameters": [ |
|
|
"application/json": { |
|
|
{ |
|
|
"schema": { |
|
|
"required": False, |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"schema": { |
|
|
} |
|
|
"additionalProperties": { |
|
|
} |
|
|
"type": "string" |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
"type": "object", |
|
|
|
|
|
"title": "Queries", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
}, |
|
|
"name": "queries", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
} |
|
|
} |
|
|
], |
|
|
}, |
|
|
"responses": { |
|
|
"/query/mapping-sequence-params": { |
|
|
"200": { |
|
|
"get": { |
|
|
"description": "Successful Response", |
|
|
"summary": "Get Sequence Mapping Query Params", |
|
|
"content": { |
|
|
"operationId": "get_sequence_mapping_query_params_query_mapping_sequence_params_get", |
|
|
"application/json": { |
|
|
"parameters": [ |
|
|
"schema": {} |
|
|
{ |
|
|
} |
|
|
"required": False, |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
"schema": { |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"additionalProperties": { |
|
|
} |
|
|
"items": {"type": "integer"}, |
|
|
|
|
|
"type": "array", |
|
|
|
|
|
}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Queries", |
|
|
|
|
|
"default": {}, |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "queries", |
|
|
|
|
|
"in": "query", |
|
|
} |
|
|
} |
|
|
} |
|
|
], |
|
|
} |
|
|
"responses": { |
|
|
} |
|
|
"200": { |
|
|
} |
|
|
"description": "Successful Response", |
|
|
}, |
|
|
"content": {"application/json": {"schema": {}}}, |
|
|
"/query/mapping-sequence-params": { |
|
|
}, |
|
|
"get": { |
|
|
"422": { |
|
|
"summary": "Get Sequence Mapping Query Params", |
|
|
"description": "Validation Error", |
|
|
"operationId": "get_sequence_mapping_query_params_query_mapping_sequence_params_get", |
|
|
"content": { |
|
|
"parameters": [ |
|
|
"application/json": { |
|
|
{ |
|
|
"schema": { |
|
|
"required": False, |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"schema": { |
|
|
} |
|
|
"additionalProperties": { |
|
|
} |
|
|
"items": { |
|
|
|
|
|
"type": "integer" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"type": "array" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"type": "object", |
|
|
|
|
|
"title": "Queries", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
}, |
|
|
"name": "queries", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
} |
|
|
} |
|
|
], |
|
|
}, |
|
|
"responses": { |
|
|
"/query/mixed-params": { |
|
|
"200": { |
|
|
"get": { |
|
|
"description": "Successful Response", |
|
|
"summary": "Get Mixed Mapping Query Params", |
|
|
"content": { |
|
|
"operationId": "get_mixed_mapping_query_params_query_mixed_params_get", |
|
|
"application/json": { |
|
|
"parameters": [ |
|
|
"schema": {} |
|
|
{ |
|
|
} |
|
|
"required": False, |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
"schema": { |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"additionalProperties": { |
|
|
} |
|
|
"items": {"type": "string"}, |
|
|
} |
|
|
"type": "array", |
|
|
} |
|
|
}, |
|
|
} |
|
|
"type": "object", |
|
|
} |
|
|
"title": "Sequence Mapping Queries", |
|
|
} |
|
|
"default": {}, |
|
|
}, |
|
|
}, |
|
|
"/query/mixed-params": { |
|
|
"name": "sequence_mapping_queries", |
|
|
"get": { |
|
|
"in": "query", |
|
|
"summary": "Get Mixed Mapping Query Params", |
|
|
}, |
|
|
"operationId": "get_mixed_mapping_query_params_query_mixed_params_get", |
|
|
{ |
|
|
"parameters": [ |
|
|
"required": True, |
|
|
{ |
|
|
"schema": { |
|
|
"required": False, |
|
|
"additionalProperties": {"type": "string"}, |
|
|
"schema": { |
|
|
"type": "object", |
|
|
"additionalProperties": { |
|
|
"title": "Mapping Query", |
|
|
"items": { |
|
|
}, |
|
|
"type": "string" |
|
|
"name": "mapping_query", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": True, |
|
|
|
|
|
"schema": {"type": "string", "title": "Query"}, |
|
|
|
|
|
"name": "query", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
"responses": { |
|
|
|
|
|
"200": { |
|
|
|
|
|
"description": "Successful Response", |
|
|
|
|
|
"content": {"application/json": {"schema": {}}}, |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
"type": "array" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"type": "object", |
|
|
|
|
|
"title": "Sequence Mapping Queries", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "sequence_mapping_queries", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": True, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"additionalProperties": { |
|
|
|
|
|
"type": "string" |
|
|
|
|
|
}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Mapping Query" |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "mapping_query", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": True, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"type": "string", |
|
|
|
|
|
"title": "Query" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"name": "query", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
} |
|
|
} |
|
|
], |
|
|
}, |
|
|
"responses": { |
|
|
"/query/mixed-type-params": { |
|
|
"200": { |
|
|
"get": { |
|
|
"description": "Successful Response", |
|
|
"summary": "Get Mixed Mapping Mixed Type Query Params", |
|
|
"content": { |
|
|
"operationId": "get_mixed_mapping_mixed_type_query_params_query_mixed_type_params_get", |
|
|
"application/json": { |
|
|
"parameters": [ |
|
|
"schema": {} |
|
|
{ |
|
|
} |
|
|
"required": False, |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
"schema": { |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"additionalProperties": { |
|
|
} |
|
|
"items": {"type": "integer"}, |
|
|
} |
|
|
"type": "array", |
|
|
} |
|
|
}, |
|
|
} |
|
|
"type": "object", |
|
|
} |
|
|
"title": "Sequence Mapping Queries", |
|
|
} |
|
|
"default": {}, |
|
|
}, |
|
|
|
|
|
"/query/mixed-type-params": { |
|
|
|
|
|
"get": { |
|
|
|
|
|
"summary": "Get Mixed Mapping Mixed Type Query Params", |
|
|
|
|
|
"operationId": "get_mixed_mapping_mixed_type_query_params_query_mixed_type_params_get", |
|
|
|
|
|
"parameters": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"required": False, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"additionalProperties": { |
|
|
|
|
|
"items": { |
|
|
|
|
|
"type": "integer" |
|
|
|
|
|
}, |
|
|
}, |
|
|
"type": "array" |
|
|
"name": "sequence_mapping_queries", |
|
|
|
|
|
"in": "query", |
|
|
}, |
|
|
}, |
|
|
"type": "object", |
|
|
{ |
|
|
"title": "Sequence Mapping Queries", |
|
|
"required": False, |
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "sequence_mapping_queries", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": False, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"additionalProperties": { |
|
|
|
|
|
"type": "string" |
|
|
|
|
|
}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Mapping Query Str", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "mapping_query_str", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": False, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"additionalProperties": { |
|
|
|
|
|
"type": "integer" |
|
|
|
|
|
}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Mapping Query Int", |
|
|
|
|
|
"default": {} |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "mapping_query_int", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": True, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"type": "integer", |
|
|
|
|
|
"title": "Query" |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "query", |
|
|
|
|
|
"in": "query" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"responses": { |
|
|
|
|
|
"200": { |
|
|
|
|
|
"description": "Successful Response", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": {} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
"schema": { |
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
"additionalProperties": {"type": "string"}, |
|
|
} |
|
|
"type": "object", |
|
|
} |
|
|
"title": "Mapping Query Str", |
|
|
} |
|
|
"default": {}, |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "mapping_query_str", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": False, |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"additionalProperties": {"type": "integer"}, |
|
|
|
|
|
"type": "object", |
|
|
|
|
|
"title": "Mapping Query Int", |
|
|
|
|
|
"default": {}, |
|
|
|
|
|
}, |
|
|
|
|
|
"name": "mapping_query_int", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"required": True, |
|
|
|
|
|
"schema": {"type": "integer", "title": "Query"}, |
|
|
|
|
|
"name": "query", |
|
|
|
|
|
"in": "query", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
"responses": { |
|
|
|
|
|
"200": { |
|
|
|
|
|
"description": "Successful Response", |
|
|
|
|
|
"content": {"application/json": {"schema": {}}}, |
|
|
|
|
|
}, |
|
|
|
|
|
"422": { |
|
|
|
|
|
"description": "Validation Error", |
|
|
|
|
|
"content": { |
|
|
|
|
|
"application/json": { |
|
|
|
|
|
"schema": { |
|
|
|
|
|
"$ref": "#/components/schemas/HTTPValidationError" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
"components": { |
|
|
"components": { |
|
|
"schemas": { |
|
|
"schemas": { |
|
|
|