redoc URL

This commit is contained in:
Jörn-Michael Miehe 2022-03-19 02:23:29 +00:00
parent 2e9093caaf
commit 6e9cf9f920

View file

@ -18,7 +18,7 @@ class Settings(BaseSettings):
config_file: str = "tmp/config.json" config_file: str = "tmp/config.json"
openapi_url: str = "/openapi.json" openapi_url: str = "/openapi.json"
docs_url: str | None = "/docs" docs_url: str | None = "/docs"
redoc_url: str | None = None redoc_url: str | None = "/redoc"
@staticmethod @staticmethod
@functools.lru_cache @functools.lru_cache