Skip to content

Repository files navigation

OpenAPI Go Reference Code Coverage License

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. :)

Additional Information

Contributing

Contributions are welcome — please open an issue or a pull request on GitHub.

License

This project is licensed under the Apache 2.0 License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages