Skip to content

Which version of OpenAPI spec does Validate(context.Context, ...ValidationOption) method validate against? #812

@andrewrowe-wk

Description

@andrewrowe-wk

Hello!

When using the Validate(context.Context, ...ValidationOption) method to validate a loaded openAPI spec, which version of the spec is it validating against? From what I can tell the validation rules are hard-coded in the logic of the Go code, as opposed to validating against a particular version of the schema (for example: https://spec.openapis.org/oas/3.0/schema/2021-09-28). Am I correct in this?

Metadata

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