[GH-ISSUE #4615] [FEAT]: Disable /api/docs with environment variable #2935

Closed
opened 2026-02-22 18:31:55 -05:00 by yindo · 0 comments
Owner

Originally created by @LeonKalt on GitHub (Nov 5, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4615

Originally assigned to: @shatfield4 on GitHub.

What would you like to see?

For production environments it is best practice to avoid exposing the swagger docs. Therefore it would be nice if it would be possible to disable the swagger docs with an environment variable.

Originally created by @LeonKalt on GitHub (Nov 5, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4615 Originally assigned to: @shatfield4 on GitHub. ### What would you like to see? For production environments it is best practice to avoid exposing the swagger docs. Therefore it would be nice if it would be possible to disable the swagger docs with an environment variable.
yindo added the enhancementfeature request labels 2026-02-22 18:31:55 -05:00
yindo closed this issue 2026-02-22 18:31:55 -05:00
yindo changed title from [FEAT]: Disable /api/docs with environment variable to [GH-ISSUE #4615] [FEAT]: Disable /api/docs with environment variable 2026-06-05 14:49:22 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2935