go-openapi/spec

GitHub: go-openapi/spec

Stars: 433 | Forks: 104

# spec [![Tests](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/066584e0c1022315.svg)][test-url] [![Coverage](https://codecov.io/gh/go-openapi/spec/branch/master/graph/badge.svg)][cov-url] [![CI vuln scan](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/217bad94dc022317.svg)][vuln-scan-url] [![CodeQL](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/4038d2651e022318.svg)][codeql-url] [![Release](https://badge.fury.io/gh/go-openapi%2Fspec.svg)][release-url] [![Go Report Card](https://goreportcard.com/badge/github.com/go-openapi/spec)][gocard-url] [![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/go-openapi/spec)][codefactor-url] [![License](http://img.shields.io/badge/license-Apache%20v2-orange.svg)][license-url] [![GoDoc](https://pkg.go.dev/badge/github.com/go-openapi/spec)][godoc-url] [![Discord Channel](https://img.shields.io/discord/1446918742398341256?logo=discord&label=discord&color=blue)][discord-url] [![go version](https://img.shields.io/github/go-mod/go-version/go-openapi/spec)][goversion-url] ![Top language](https://img.shields.io/github/languages/top/go-openapi/spec) ![Commits since latest release](https://img.shields.io/github/commits-since/go-openapi/spec/latest) The object model for OpenAPI v2 specification documents. ## Announcements Or join our Slack channel: [![Slack Channel](https://a.slack-edge.com/e6a93c1/img/icons/favicon-32.png)![slack-badge]][slack-url] ## Status API is stable. ## Import this library in your project go get github.com/go-openapi/spec ### FAQ * What does this do? * How does it play with the rest of the go-openapi packages ? * How can I validate a spec? Validation is provided by [the validate package](http://github.com/go-openapi/validate) * Why do we have an `ID` field for `Schema` which is not part of the swagger spec? ## Change log See ## References ## Licensing This library ships under the [SPDX-License-Identifier: Apache-2.0](./LICENSE). ## Other documentation ## Cutting a new release Maintainers can cut a new release by either: * running [this workflow](https://github.com/go-openapi/spec/actions/workflows/bump-release.yml) * or pushing a semver tag * signed tags are preferred * The tag message is prepended to release notes
标签:EVTX分析