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

Prevent loss of field descriptions when converting swagger specs by using refSiblings: 'preserve' #2207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 16, 2022

  1. Use refSiblings: 'preserve' when converting swagger

    As per Redocly#2067, `swagger2openapi` needs `refSiblings: 'preserve'` to bring additional fields into the converted open-api object.
    
    This makes the description field available to the `fieldSchema` objects, but it also needs to be merged into the field model to be shown in the UI.
    davetransom committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    f0da3c5 View commit details
    Browse the repository at this point in the history