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

Never create inline model for allOf with single $ref #18945

Merged
merged 1 commit into from
Jun 19, 2024

Commits on Jun 19, 2024

  1. Never create inline model for allOf with single $ref

    Fixes OpenAPITools#15077
    
    The previous fix for this in OpenAPITools#16096 is incomplete because it still
    generates unnecessary inline models when readOnly or
    nullable is used in conjunction with other properties like
    description.
    This commit fixes the logic error and adds testcases.
    ReneZeidler committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f1bea46 View commit details
    Browse the repository at this point in the history