Skip to content

go-api-libs/go-pkgsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Pkgsite (pkg.go.dev) API

As announced on the blog, pkg.go.dev now has an official API.

API Issues

The documentation shows it's currently in beta. In fact, it has several issues:

The official OpenAPI spec is linked at pkg.go.dev/v1beta/openapi.yaml but is actually JSON. It is an invalid spec, e.g. missing path parameter definitions, unexported field in the spec (and therefore a reference to a non-existent schema error). At times it is quite repetitive. A cleaned up and improved version is available here in this repo.

Furthermore, for some routes, the documentation only provide example requests that fail (e.g. with error code 400 Bad Request).

Nevertheless, with this library, you can already use the API as best as possible. :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages