Skip to content
New issue

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

[BUG] nullable label not shown #1702

Closed
xYundy opened this issue Jul 22, 2021 · 1 comment · Fixed by #1700
Closed

[BUG] nullable label not shown #1702

xYundy opened this issue Jul 22, 2021 · 1 comment · Fixed by #1700
Assignees

Comments

@xYundy
Copy link

xYundy commented Jul 22, 2021

When I add nullable: true or x-nullable: true to property it doesn't render label in redoc view.

Example (what should be displayed:) https://helpcenter.veeam.com/docs/one/rest/reference/one-rest.html?ver=11

Example of what is displaying now: https://redocly.github.io/redoc/?url=https://helpcenter.veeam.com/content/dam/helpcenter/global/reference/one_rest_110.yaml#operation/About_GetAbout

@houdinisparks
Copy link

houdinisparks commented Jul 25, 2021

I am facing this problem too after upgrading to redoc version 2.0.0-rc.55.
Snippet of specs:

# ...
    properties:
      id:
        type: string
        description: reference id in BGP
        example: 20033TP3
        nullable: true

Preview output with 2.0.0-rc.55:
image

Preview output with 2.0.0-rc.53 (expected output):
image

Only after downgrading to 2.0.0-rc.53, was the Nullable remark shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants