Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.8 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.8 KB

openapi

Package openapi is a set of Go types for OpenAPI Specification 3.1. The primary purpose of the package is to assist in generation of OpenAPI documentation or to offer building blocks for code-generation.

Documentation

Documentation can be found on pkg.go.dev.

Validation

Currently, specifications are validated with JSON Schema. Per OpenAPI's documentation, this may not be enough to properly encapsulate all the nuances of a specification. However, JSON Schema is able to properly validate the current OpenAPI 3.1 Specification test suite.

Please open an issue if you run into an edge case that is not validated adequately.

Contributions

Please feel free to open up an issue or create a pull request if there are features you'd like to contribute or issues.

Dependencies

License

MIT