ragflow/api/apps/sdk
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
..
chat.py Add test for CI (#3114) 2024-10-31 14:07:23 +08:00
dataset.py feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00
dify_retrieval.py fix: modify the response of metadata in Dify retrieval api (#3076) 2024-10-29 11:06:02 +08:00
doc.py feat: docs for api endpoints to generate openapi specification (#3109) 2024-11-04 15:35:36 +08:00
session.py fix: remove useless test code (#3122) 2024-10-31 11:56:46 +08:00