You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...redocly fails to display defaults in the referenced schemas. Note that the same model is displayed correctly when explicitly dereferenced.
Expected behavior
Defaults are displayed even in referenced models.
Logs
No idea what the warning means, but AFAIK is not related to the problem.
(node:2452) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found undefined and using theme.openapi options
Prerendering docs
🎉 bundled successfully in: redoc-static.html (43 KiB) [⏱ 2ms].
OpenAPI description
See above
Redocly Version(s)
$ redocly --version
1.25.0
Node.js Version(s)
$ node --version
v22.8.0
OS, environment
$ uname -a
Linux nb-onavratil2 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Redocly often fails to display default values of properties, although they are defined in accordance with standard.
To Reproduce
Steps to reproduce the behavior:
Given this api and separate model:
Model:
Running the following
...redocly fails to display defaults in the referenced schemas. Note that the same model is displayed correctly when explicitly dereferenced.
Expected behavior
Defaults are displayed even in referenced models.
Logs
No idea what the warning means, but AFAIK is not related to the problem.
OpenAPI description
See above
Redocly Version(s)
Node.js
Version(s)OS, environment
Additional context
The text was updated successfully, but these errors were encountered: