libopenapi-validator
libopenapi-validator copied to clipboard
OpenAPI validation extension for libopenapi, validate http requests and responses as well as schemas
Separate the integer type and the number type in validation of all parameters.
https://swagger.io/docs/specification/v3_0/authentication/#using-multiple-authentication-types When defining multiple security schemes for 1 operation, they can be OR'd or AND'd. Currently they're always treated as an OR
It looks like there's a bug when it comes to query parameter validation. I haven't done a deep dive on where it failed in libopenapi-validation, but it looks like the...
I am using "github.com/pb33f/libopenapi-validator" to validate HTTP requests (converted from fasthttp). The validation works as expected, and the error messages provide meaningful reasons. However, I need to extract the JSON...
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.30.0 to 0.31.0. Commits e7ff6b3 go.mod: update golang.org/x dependencies fbf012b all: use reflect.TypeFor instead of reflect.TypeOf See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...
## Description ### TL;DR **Review these 4 PRs in order in my fork for smaller chunks, but add discussion here so that they can live throughout the project's history:** 1....
Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.28.1 to 0.28.2. Release notes Sourced from github.com/pb33f/libopenapi's releases. v0.28.2 Add fix for #379 Commits 66b73b3 more test hashing cleanup 2bad993 fix some tests. d9af111 Fix tests...
Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.2 to 4.0.0-rc.3. Commits e99d6a6 Minimal fix for 2 Makefile bugs f215992 Replace emitterError calls with errors.New calls 7dee9b1 Apply code suggestions 2 5072978 Apply code suggestions...
**tl;dr** - I'm working with @its-hammer-time to the following end goal: > Provide full, consistent information in `SchemaValidationFailure` when an OpenAPI Schema fails validation whether it originates from the underlying...
According to the [documentation](https://swagger.io/docs/specification/v3_0/authentication/#describing-security): > When used on the root level, `security` applies the specified security schemes globally to all API operations, unless overridden on the operation level. The global...