Documentation
¶
Overview ¶
Package oascheck validates OpenAPI 3.1 documents and values against their schemas, for the tests of the generator and of the api module: a document must pass the schema of the specification, every schema in it must compile as JSON Schema 2020-12, and what the gateway answers must match the schema the document gives for it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker checks values against the component schemas of a document.
func NewChecker ¶
NewChecker reads the component schemas of a document.
Click to show internal directories.
Click to hide internal directories.