An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/pb33f/libopenapi

Package libopenapi is a library containing tools for reading and in and manipulating Swagger (OpenAPI 2) and OpenAPI 3+ specifications into strongly typed documents. These documents have two APIs, a high level (porcelain) and a low level (plumbing). Every single type has a 'GoLow()' method that drops down from the high API to the low API. Once in the low API, the entire original document data is available, including all comments, line and column numbers for keys and values. There are two steps to creating a using Document. First, create a new Document using the NewDocument() method and pass in a specification []byte array that contains the OpenAPI Specification. It doesn't matter if YAML or JSON are used.

Ecosystem
proxy.golang.org
Latest Release
v0.34.4
10 days ago
Versions
233
Dependent Packages
41
Dependent Repos
77
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/pb33f/libopenapi
spec
License MIT
Namespace github.com/pb33f
First Release over 3 years ago
Last Synced 6 days ago
Repository
Stars 716 on GitHub
Forks 89 on GitHub
Docker Dependents 2
Docker Downloads 1,468,701
Commits 1012
Committers 38
Avg per Author 26.632
DDS 0.229
Rankings on proxy.golang.org
Overall Top 2.6%
Dependent packages Top 0.7%
Dependent repos Top 0.7%
Forks Top 5.7%
Docker downloads Top 1.2%