Replies: 1 comment 8 replies
-
|
We do support x-tagGroups already, does that help? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks for building Scalar 🙌 — we’re using it in our company production FastAPI project and it has been great.
I’m using Scalar in my production FastAPI backend (which powers 3 apps), and I’d love better readability of the API docs.
One major improvement we’d love to see is nested tag grouping in the sidebar (parent → child style).
Right now, if I define tags like this:
account_router = APIRouter(prefix="/account", tags=["Shop - Account"])
profile_router = APIRouter(prefix="/profile", tags=["Shop - Profile"])
products_router = APIRouter(prefix="/products", tags=["Shop - Products"])
They show up flat in Scalar:
Shop - Account
Shop - Profile
Shop - Products
But what I really need (for readability in production) is nested sections like this:
Shop
├── Account -> all APIs
├── Profile -> all APIs
├── Products -> all APIs
I’m creating 3 apps in one FastAPI backend, so this kind of nested grouping would make the docs far more usable for our team and external integrators.
Feature Request:
Support expandable/collapsible nested tag groups in the sidebar.
Either via x-tagGroups or by interpreting tag naming conventions (Shop - Account).
Beta Was this translation helpful? Give feedback.
All reactions