openapi toolkit validation helpers
145
stars
419
commits
Go
primary language
Sep 9, 2026
updated
A validator for OpenAPI v2 specifications and JSON schema draft 4.
You may join the discord community by clicking the invite link on the discord badge (also above).
API is stable.
go get github.com/go-openapi/validate
This package provides helpers to validate Swagger 2.0. specification (aka OpenAPI 2.0).
No. This package currently only supports OpenAPI 2.0 (aka Swagger 2.0). There is no plan to make it evolve toward supporting OpenAPI 3.x. This discussion thread relates the full story.
An early attempt to support Swagger 3 may be found at: https://github.com/go-openapi/spec3
See https://github.com/go-openapi/validate/releases
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
This library ships under the SPDX-License-Identifier: Apache-2.0.
Maintainers can cut a new release by either:
(top 30 of 34)
Go
99.9%
openapi toolkit validation helpers
145
stars
419
commits
Go
primary language
Sep 9, 2026
updated
A validator for OpenAPI v2 specifications and JSON schema draft 4.
You may join the discord community by clicking the invite link on the discord badge (also above).
API is stable.
go get github.com/go-openapi/validate
This package provides helpers to validate Swagger 2.0. specification (aka OpenAPI 2.0).
No. This package currently only supports OpenAPI 2.0 (aka Swagger 2.0). There is no plan to make it evolve toward supporting OpenAPI 3.x. This discussion thread relates the full story.
An early attempt to support Swagger 3 may be found at: https://github.com/go-openapi/spec3
See https://github.com/go-openapi/validate/releases
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
This library ships under the SPDX-License-Identifier: Apache-2.0.
Maintainers can cut a new release by either:
(top 30 of 34)
Go
99.9%