Registry / serialization / go-openapi-spec

go-openapi-spec

JSON →
library0.22.6gogounverified

Provides an object model for OpenAPI v2 (Swagger) specifications, enabling parsing and manipulation of API definitions.

go get github.com/go-openapi/spec
INSTALL
IMPORT
SIG · GO-OPENAPI-SPEC
G
go-openapi-spec
serializationgov0.22.6
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.

spec
✓ github.com/go-openapi/spec

Creates an empty Swagger object.

package main import ( "fmt" "github.com/go-openapi/spec" ) func main() { swagger := spec.Swagger{} fmt.Println(swagger) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
15
Resources
go-openapi-spec — go get go-openapi-spec · libregistry