github.com/go-openapi/validate
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:
proxy.golang.org
v0.25.1
3 months ago
37
3,631
17,754
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/go-openapi/validate
spec |
| License | Apache-2.0 |
| Namespace | github.com/go-openapi |
| First Release | over 7 years ago |
| Last Synced | about 12 hours ago |
Repository
| Stars | 139 on GitHub |
| Forks | 55 on GitHub |
| Docker Dependents | 2,357 |
| Docker Downloads | 18,354,801,984 |
| Commits | 208 |
| Committers | 34 |
| Avg per Author | 6.118 |
| DDS | 0.442 |