-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenapi_fulltext.json
1 lines (1 loc) · 2.69 KB
/
openapi_fulltext.json
1
{"openapi": "3.0.2", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {"/": {"get": {"summary": "Root Handler", "operationId": "root_handler__get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/healthz": {"get": {"summary": "Healthz Handler", "operationId": "healthz_handler_healthz_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/topz": {"get": {"summary": "Topz Handler", "operationId": "topz_handler_topz_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/fulltext/{paper_uuid}": {"get": {"summary": "Read Fulltext Handler", "operationId": "read_fulltext_handler_fulltext__paper_uuid__get", "parameters": [{"required": true, "schema": {"title": "Paper Uuid", "type": "string", "format": "uuid"}, "name": "paper_uuid", "in": "path"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "post": {"summary": "Create Fulltext Handler", "operationId": "create_fulltext_handler_fulltext__paper_uuid__post", "parameters": [{"required": true, "schema": {"title": "Paper Uuid", "type": "string", "format": "uuid"}, "name": "paper_uuid", "in": "path"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/fulltext": {"get": {"summary": "Reads Fulltext Handler", "operationId": "reads_fulltext_handler_fulltext_get", "parameters": [{"required": false, "schema": {"title": "Keyword", "type": "string", "default": ""}, "name": "keyword", "in": "query"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}}, "components": {"schemas": {"HTTPValidationError": {"title": "HTTPValidationError", "type": "object", "properties": {"detail": {"title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}}}}, "ValidationError": {"title": "ValidationError", "required": ["loc", "msg", "type"], "type": "object", "properties": {"loc": {"title": "Location", "type": "array", "items": {"type": "string"}}, "msg": {"title": "Message", "type": "string"}, "type": {"title": "Error Type", "type": "string"}}}}}}