{"repo":"go-openapi/validate","free":true,"listed":false,"github":"https://github.com/go-openapi/validate","clone":"git clone https://github.com/go-openapi/validate.git","description":"openapi toolkit validation helpers","language":"Go","stars":145,"topics":["openapi","swagger2"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"validate [![Tests][test-badge]][test-url] [![Coverage][cov-badge]][cov-url] [![CI vuln scan][vuln-scan-badge]][vuln-scan-url] [![CodeQL][codeql-badge]][codeql-url] [![Release][release-badge]][release-url] [![Go Report Card][gocard-badge]][gocard-url] [![CodeFactor Grade][codefactor-badge]][codefactor-url] [![License][license-badge]][license-url] [![GoDoc][godoc-badge]][godoc-url] [![Discord Channel][discord-badge]][discord-url] [![go version][goversion-badge]][goversion-url] ![Top language][top-badge] ![Commits since latest release][commits-badge] --- A validator for OpenAPI v2 specifications and JSON schema draft 4. Announcements 2025-12-19 : new community chat on discord a new discord community channel is available to be notified of changes and support users You may join the discord community by clicking the invite link on the discord badge (also above). [![Discord Channel][discord-badge]][discord-url] Status API is stable. Import this library in your project Contents This package provides helpers to validate Swagger 2.0. specification (aka OpenAPI 2.0). A validator for Swagger specifications A validator for JSON schemas draft4 Helper functions to validate individual values (used by code generated by go-swagger). Required, RequiredNumber, RequiredString ReadOnly UniqueItems, MaxItems, MinItems Enum, EnumCase Pattern, MinLength, MaxLength Minimum, Maximum, MultipleOf FormatOf FAQ Does this library support OpenAPI 3? No. This package currently only supports OpenAPI 2.0 (aka S","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-openapi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-openapi/validate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}