Registry / serialization / go-openapi-loads

go-openapi-loads

JSON →
library0.23.3gogounverified

Package loads provides document loading methods for Swagger (OAI v2) API specifications.

go get github.com/go-openapi/loads
INSTALL
IMPORT
SIG · GO-OPENAPI-LOADS
G
go-openapi-loads
serializationgov0.23.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.

loads
github.com/go-openapi/loads

Load a Swagger specification from a URL.

package main import ( "fmt" "github.com/go-openapi/loads" ) func main() { doc, _ := loads.Spec("https://petstore.swagger.io/v2/swagger.json") fmt.Println(doc.Spec().Info.Title) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
go-openapi-loads — go get go-openapi-loads · libregistry