Fastapi: [Q] Is there a way to disable the docs frontend?

Created on 27 Jul 2020  路  3Comments  路  Source: tiangolo/fastapi

I don't want the docs, they just consume extra resources. How can I turn them off?

question

Most helpful comment

Please follow thr issue template and there should be an answer.

All 3 comments

Please follow thr issue template and there should be an answer.

After searching more thoroughly through the repository, I have found an answer; Setting export OPENAPI_URL= in the environment of the running app. There is more info here.

@phy25 Sorry, the search wasn't (and isn't) working for me on https://fastapi.tiangolo.com, and I don't know why I forgot to search Github. I usually do that. Thanks!

Thanks for the help here @phy25 ! :clap: :bow:

Thanks for reporting back and closing the issue @NightMachinary :+1:

Was this page helpful?
0 / 5 - 0 ratings