proxy.golang.org : github.com/go-openapi/validate : v0.17.0
Package validate provides methods to validate a swagger specification, as well as tools to validate data against their schema. This package follows Swagger 2.0. specification (aka OpenAPI 2.0). Reference can be found here: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md. Validates a spec document (from JSON or YAML) against the JSON schema for swagger, then checks a number of extra rules that can't be expressed in JSON schema. Entry points: Reported as errors: Reported as warnings: The schema validation toolkit validates data against JSON-schema-draft 04 schema. It is tested against the full json-schema-testing-suite (https://github.com/json-schema-org/JSON-Schema-Test-Suite), except for the optional part (bignum, ECMA regexp, ...). It supports the complete JSON-schema vocabulary, including keywords not supported by Swagger (e.g. additionalItems, ...) Entry points: With the current version of this package, the following aspects of swagger are not yet supported:
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/go-openapi/[email protected]
Published:
Indexed:
- github.com/go-openapi/analysis v0.17.0
- github.com/go-openapi/errors v0.17.0
- github.com/go-openapi/jsonpointer v0.17.0
- github.com/go-openapi/loads v0.17.0
- github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9
- github.com/go-openapi/spec v0.17.0
- github.com/go-openapi/strfmt v0.17.0
- github.com/go-openapi/swag v0.17.0
- github.com/stretchr/testify v1.2.2
- gopkg.in/yaml.v2 v2.2.1