-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenapi_front.json
1 lines (1 loc) · 2.35 KB
/
openapi_front.json
1
{"openapi": "3.0.2", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {"/": {"get": {"summary": "Top Handler", "operationId": "top_handler__get", "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}}}}, "/paper/{paper_uuid}": {"get": {"summary": "Paper Handler", "operationId": "paper_handler_paper__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": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/paper/{paper_uuid}/download": {"get": {"summary": "Paper Download Handler", "operationId": "paper_download_handler_paper__paper_uuid__download_get", "parameters": [{"required": true, "schema": {"title": "Paper Uuid", "type": "string", "format": "uuid"}, "name": "paper_uuid", "in": "path"}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/author/{author_uuid}": {"get": {"summary": "Author Handler", "operationId": "author_handler_author__author_uuid__get", "parameters": [{"required": true, "schema": {"title": "Author Uuid", "type": "string", "format": "uuid"}, "name": "author_uuid", "in": "path"}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "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"}}}}}}