### 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`
|
||
|---|---|---|
| .. | ||
| chat.py | ||
| dataset.py | ||
| dify_retrieval.py | ||
| doc.py | ||
| session.py | ||