Registry / serialization / pb33f-libopenapi

pb33f-libopenapi

JSON →
library0.36.3gogounverified

Library for reading and manipulating Swagger (OpenAPI 2) and OpenAPI 3+ specifications into strongly typed documents.

go get github.com/pb33f/libopenapi
INSTALL
IMPORT
SIG · PB33F-LIBOPENAPI
P
pb33f-libopenapi
serializationgov0.36.3
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.

libopenapi
github.com/pb33f/libopenapi

Parses an OpenAPI 3.0 specification and prints its version.

package main import ( "fmt" "github.com/pb33f/libopenapi" ) func main() { spec := []byte(`openapi: "3.0.0" info: title: Test version: "1.0"`) doc, _ := libopenapi.NewDocument(spec) fmt.Println(doc.GetVersion()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.36.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
pb33f-libopenapi — go get pb33f-libopenapi · libregistry