libopenapi-validator icon indicating copy to clipboard operation
libopenapi-validator copied to clipboard

OpenAPI validation extension for libopenapi, validate http requests and responses as well as schemas

Results 36 libopenapi-validator issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/text&package-manager=go_modules&previous-version=0.30.0&new-version=0.31.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...

dependencies
go

## 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...

dependencies
go

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...

dependencies
go

**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...

needs investigation