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
{{ message }}
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
Incorrect "Required" Parameter in Documentation for Nullable Fields #317
Incorrect "Required" Parameter in Documentation for Nullable Fields
We have encountered an issue where a parameter that is defined as nullable in our templates is still marked as "required" in the generated documentation. Specifically:
When we define a parameter like param Instance string? in our Bicep files, it should be interpreted as nullable.
When compiled to an ARM template, the parameter appears as:
Despite the parameter being nullable, the generated documentation incorrectly shows the parameter as Required: Yes (as seen in the attached screenshot).
the Required field in the generated documentation shows correctly as No.
This discrepancy between the actual parameter configuration and the generated documentation can cause confusion for users relying on the documentation for implementation. We would appreciate it if this could be investigated and resolved 😃
To Reproduce
The documentation is generated using the following command:
Activity
github-actions commentedon Oct 18, 2024
Thanks for raising your first issue, the team appreciates the time you have taken 😉