Registry / serialization / googleapis-gnostic

googleapis-gnostic

JSON →
library0.7.1gogounverified

A tool for building better REST APIs through knowledge, providing OpenAPI protocol buffer representations.

go get github.com/googleapis/gnostic
INSTALL
IMPORT
SIG · GOOGLEAPIS-GNOSTIC
G
googleapis-gnostic
serializationgov0.7.1
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.

openapiv2
github.com/googleapis/gnostic/openapiv2

Parses an OpenAPI v2 document.

package main import ( "fmt" "github.com/googleapis/gnostic/openapiv2" ) func main() { doc, _ := openapiv2.ParseDocument([]byte(`{}`)) fmt.Println(doc) }
Debug
Known issues
gotchaThe library has multiple versions for different OpenAPI specs.
fix
Use openapiv2 for Swagger 2.0, openapiv3 for OpenAPI 3.0.
affects: *
Upgrade
Version history
0.7.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
googleapis-gnostic — go get googleapis-gnostic · libregistry