Commit 5e91cec
authored
docs(api): hide models sidebar in Scalar reference (#3459)
Pass `hideModels: true` to the Scalar apiReference middleware so the
public `/api/docs` no longer exposes the internal Models tree
(Mongoose-derived shapes, error envelopes, intermediate DTOs). Schemas
are still documented inline on each endpoint — the Models section just
leaks implementation detail without helping API consumers.
Stack-side default — every downstream project benefits without extra
config.
Closes #34581 parent 4b8bdcb commit 5e91cec
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
0 commit comments