-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Open
Labels
feature requestNew feature or requestNew feature or request
Description
🚀 The feature, motivation and pitch
When used on a air-gaped system, FastAPI documentation route (/docs) is not accessible because it requires pulling static content from internet.
This route is very useful because it is both a documentation and a simple way to send requests to the server, easing a lot when integrating vllm to a system.
One simple way to enable this route is to use the fastapi_offline package and edit the way we call the app object :
from fastapi import FastAPI
app = FastAPI()
by
from fastapi_offline import FastAPIOffline
app = FastAPIOffline()
Alternatives
No response
Additional context
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request