# Packages

Package openapi_schemas contains the OpenAPI 3.0 and 3.1 schemas that are loaded from libopenapi, or our own fork of the official OpenAPI repo specifications.

# Functions

LocateSchemaPropertyNodeByJSONPath will locate a schema property node by a JSONPath.
NewSchemaValidator will create a new SchemaValidator instance, ready to accept schemas and payloads to validate.
NewSchemaValidatorWithLogger will create a new SchemaValidator instance, ready to accept schemas and payloads to validate.
ValidateOpenAPIDocument will validate an OpenAPI document against the OpenAPI 2, 3.0 and 3.1 schemas (depending on version) It will return true if the document is valid, false if it is not and a slice of ValidationError pointers.

# Interfaces

SchemaValidator is an interface that defines the methods for validating a *base.Schema (V3+ Only) object.