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
- github.com/santhosh-tekuri/jsonschema/v5 (used for json schema validation)
- github.com/evanphx/json-patch/v5 (used for testing purposes)
- github.com/stretchr/testify (testing)
- github.com/tidwall/gjson (json parsing)
- github.com/tidwall/sjson (json manipulation)
- github.com/wI2L/jsondiff (testing purposes)
- gopkg.in/yaml.v2 (yaml)
- sigs.k8s.io/yaml (yaml)
- github.com/chanced/cmpjson (testing purposes)
- github.com/chanced/dynamic (json parsing)
- github.com/pkg/errors (errors)
License
MIT

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
