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
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:
Description of the issue
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).
However, when the parameter is set like this:
and in the corresponding JSON:
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:
Please let us know if further details are needed.
Module in use and version:
The text was updated successfully, but these errors were encountered: