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

fix(ibm-accept-and-return-models): exempt non-object schemas #681

Merged
merged 1 commit into from
Sep 4, 2024

Commits on Sep 4, 2024

  1. fix(ibm-accept-and-return-models): exempt non-object schemas

    When checking that request/response bodies are defined as models,
    we don't need to check schemas that aren't objects. These schemas
    should be objects, but there are other rules that will catch that
    and it's confusing for the validator to tell users they need the
    "properties" field on a non-object schema.
    
    Signed-off-by: Dustin Popp <dpopp07@gmail.com>
    dpopp07 committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ebdd6c6 View commit details
    Browse the repository at this point in the history