Open bhimrazy opened 1 week ago
Hi @bhimrazy I can take this up
Hi @ankitsharma07,
Thanks for your interest! Let’s wait to hear feedback from the maintainers first, and once we have their feedback, feel free to proceed.
cc: @aniketmaurya @lantiga
Feature Request: Customize FastAPI Metadata
Description
Add a way to change FastAPI metadata (like title, description, license info, contact details, etc) and control the visibility of documentation URLs through the
app_config
parameter inLitServer
.Motivation
It would be helpful to easily customize API documentation details and hide docs URLs if needed, to keep things private or more tailored to specific needs.
Proposal
Update
LitServer
to accept anapp_config
dictionary for metadata settings:In
server.py
, apply these settings to FastAPI:Alternatives
Additional Context