{"repo":"go-openapi/spec","free":true,"listed":false,"github":"https://github.com/go-openapi/spec","clone":"git clone https://github.com/go-openapi/spec.git","description":"openapi specification object model","language":"Go","stars":435,"topics":["openapi","swagger2"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"spec [![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] --- The object model for OpenAPI v2 specification documents. 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 FAQ What does this do? 1. This package knows how to marshal and unmarshal Swagger API specifications into a golang object model 2. It knows how to resolve $ref and expand them to make a single root document How does it play with the rest of the go-openapi packages ? 1. This package is at the core of the go-openapi suite of packages and code generator 2. There is a spec loading package to fetch specs as JSON or YAML from local or remote locations 3. There is a spec validation package built on top of it 4. There is a spec analysis pac","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-openapi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-openapi/spec/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."}