Registry / serialization / go-openapi-validate

go-openapi-validate

JSON →
library0.26.0gogounverified

Package validate provides methods to validate a Swagger 2.0 specification and data against its schema.

go get github.com/go-openapi/validate
INSTALL
IMPORT
SIG · GO-OPENAPI-VALIDAT
G
go-openapi-validate
serializationgov0.26.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

validate
github.com/go-openapi/validate

Import the validation package

package main import ( "fmt" "github.com/go-openapi/validate" ) func main() { // Example usage would require a swagger spec; this is a placeholder. fmt.Println("Validation package imported") }
Debug
Known issues
breakingOnly supports Swagger 2.0 (OpenAPI 2.0), not OpenAPI 3.x
fix
Use a different validator for OpenAPI 3.x specs
affects: all
Upgrade
Version history
0.26.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-openapi-validate — go get go-openapi-validate · libregistry