ragflow/api/apps
Matej Horník dd1146ec64
feat: docs for api endpoints to generate openapi specification (#3109)
### What problem does this PR solve?

**Added openapi specification for API routes. This creates swagger UI
similar to FastAPI to better use the API.**
Using python package `flasgger`

### Type of change
- [x] New Feature (non-breaking change which adds functionality)

Not all routes are included since this is a work in progress.

Docs can be accessed on: `{host}:{port}/apidocs`
2024-11-04 15:35:36 +08:00
..
sdk feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00
__init__.py feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00
api_app.py add auto keywords and auto-question (#2965) 2024-10-22 13:12:49 +08:00
canvas_app.py add API for tenant function (#2866) 2024-10-16 16:10:24 +08:00
chunk_app.py fix SILICONFLOW rerank error (#2980) 2024-10-23 10:12:39 +08:00
conversation_app.py fix: remove useless test code (#3122) 2024-10-31 11:56:46 +08:00
dialog_app.py Add Authorization checks (#2221) 2024-09-04 10:36:15 +08:00
document_app.py add owner check for team work (#2892) 2024-10-18 13:48:57 +08:00
file2document_app.py fix parser for pptx of which files are from filemanager (#2482) 2024-09-18 19:13:37 +08:00
file_app.py Storage: Rename all the variables about get file to storage from minio. (#2497) 2024-09-19 19:19:27 +08:00
kb_app.py add owner check for team work (#2892) 2024-10-18 13:48:57 +08:00
llm_app.py Fix keys of Xinference deployed models, especially has the same model name with public hosted models. (#2832) 2024-10-16 10:21:08 +08:00
system_app.py feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00
tenant_app.py Fix non-null violation when inviting people to team (#3015) 2024-10-25 18:39:09 +08:00
user_app.py feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00