We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After generating the pages for openapi.yaml that doesn't mark as required the fileds for some object, all the attributes are marked as "required"
Not mark as Required all non required attributes for schema
All the attributes are marked as required
openapi.yaml:
properties: error: type: string status: type: string enum: - ok - ko required: - status additionalProperties: false
Generated html:
<ul style="margin-left: 1rem;"><div class="openapi-schema__list-item"><div><span class="openapi-schema__container"><strong class="openapi-schema__property">error</strong><span class="openapi-schema__name"> string</span><span class="openapi-schema__required">required</span></span></div></div><div class="openapi-schema__list-item"><div><span class="openapi-schema__container"><strong class="openapi-schema__property">status</strong><span class="openapi-schema__name"> string</span><span class="openapi-schema__divider"></span><span class="openapi-schema__required">required</span></span><div><p><strong>Possible values:</strong> [<code>ok</code>, <code>ko</code>]</p></div></div></div></ul>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
After generating the pages for openapi.yaml that doesn't mark as required the fileds for some object, all the attributes are marked as "required"
Expected behavior
Not mark as Required all non required attributes for schema
Current behavior
All the attributes are marked as required
Steps to reproduce
openapi.yaml:
Generated html:
Screenshots
The text was updated successfully, but these errors were encountered: