Update Swagger API key status description text

This commit is contained in:
yangdx 2025-10-18 09:40:44 +08:00
parent 8070d0cf32
commit 012aaada22

View file

@ -350,7 +350,7 @@ def create_app(args):
)
swagger_description = (
base_description
+ (" (With authentication)" if api_key else "")
+ (" (API-Key Enabled)" if api_key else "")
+ "\n\n[View ReDoc documentation](/redoc)"
)
app_kwargs = {