Validator validates HTTP requests against an OpenAPI specification.
| 29 | |
| 30 | // Validator validates HTTP requests against an OpenAPI specification. |
| 31 | type Validator struct { |
| 32 | validator validator.Validator |
| 33 | } |
| 34 | |
| 35 | // NewFromBytes creates a Validator from a raw OpenAPI spec. |
| 36 | // Returns an error if the spec cannot be parsed or is itself invalid. |
nothing calls this directly
no outgoing calls
no test coverage detected