Skip to content

Support ModelValidation suppressions on example positions #1040

Open

Description

Repro:

  • checkout azure/azure-rest-api-specs
  • checkout branch scbedd/oav-repro-6-26
  • npx oav@3.3.8 validate-example specification/ai/data-plane/OpenAI.Assistants/OpenApiV2/preview/2024-02-15-preview/assistants_generated.json
  • Notice all the INVALID_TYPE errors occurring even with a suppression on the exact path that is being reported by oav

This should work.

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions