[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5062":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":18,"lastSyncTime":35,"discoverSource":36},5062,"go-swagger","go-swagger\u002Fgo-swagger","Swagger 2.0 implementation for go","https:\u002F\u002Fgoswagger.io",null,"Go",9985,1303,111,548,0,3,16,2,40.35,"Apache License 2.0",false,"master",true,[25,26,27,28,29,30,31],"api","code-generator","go","golang","swagger-codegen","swagger-spec","swagger-specification","2026-06-12 02:01:07","# Swagger 2.0\n\n\u003C!-- Badges: status  -->\n[![Tests][test-badge]][test-url] [![Coverage][cov-badge]][cov-url] [![CI vuln scan][vuln-scan-badge]][vuln-scan-url] [![CodeQL][codeql-badge]][codeql-url]\n\u003C!-- Badges: release & docker images  -->\n[![Release][release-badge]][release-url] [![Container Registry on Quay.io][quay-badge]][quay-url] [![Container Registry on Github][ghcr-badge]][ghcr-url]\n\u003C!-- Badges: code quality  -->\n[![Go Report Card][gocard-badge]][gocard-url] [![CodeFactor Grade][codefactor-badge]][codefactor-url]\n\u003C!-- Badges: license & compliance -->\n[![License][license-badge]][license-url] [![Open SSF Scorecard][ossf-badge]][ossf-url] [![OpenSSF Best Practices][ossf-cci-badge]][ossf-cci-url] [![OpenSSF Baseline][ossf-baseline]][ossf-cci-url] [![OSS licences status][fossa-badge]][fossa-url]\n\u003C!-- Badges: documentation & support -->\n\u003C!-- Badges: others & stats -->\n[![Documentation][doc-badge]][doc-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]\n\n---\n\nThis project contains a golang implementation of Swagger 2.0 (aka [OpenAPI 2.0](https:\u002F\u002Fgithub.com\u002FOAI\u002FOpenAPI-Specification\u002Fblob\u002Fold-v3.2.0-dev\u002Fversions\u002F2.0.md)).\nIt provide tools to work with swagger specifications.\n\n[Swagger](https:\u002F\u002Fswagger.io\u002F) is a simple yet powerful representation of your RESTful API.\u003Cbr>\n\n## Announcements\n\n* **2026-03-16** : v0.33.2 is out\n  * upgraded requirement to `go1.25`\n  * bug fix release\n  * changes in our release workflow:\n    * releases and tags are signed\n    * all released artifacts are now signed. Signatures may be checked against `.sig` artifacts.\n    * deb and rpm packages are available on a new package name `go-swagger` instead of `swagger`\n    * docker images now embarks a go installation (required to generate code)\n    * binary releases now ship as tarballs. See the [updated installation instructions](https:\u002F\u002Fgoswagger.io\u002Fgo-swagger\u002Finstall\u002Finstall-binary)\n    * for convenience, plain binaries with the pre-existing OS\u002Farch naming convention has been maintained for now\n  * removed dependencies:\n    * mongodb driver (**NOT BREAKING**: see also \u003Chttps:\u002F\u002Fgithub.com\u002Fgo-openapi\u002Fstrfmt#announcements> for support\n      of drivers updates)\n    * `mailru\u002Feasyjson`: not longer imported by default. See \u003Chttps:\u002F\u002Fgithub.com\u002Fgo-openapi\u002Fswag?tab=readme-ov-file#dependencies>\n      to enact `mailru\u002Feasyjson` explicitly.\n\n* **2026-03-16** : new community chat on discord\n  * a new discord community channel is available to be notified of changes and support users\n  * our venerable Slack channel remains open, and will be eventually discontinued on **2026-06-30**\n  * (for go-openapi libraries we'll stop Slack on **2026-03-31**).\n\nYou may join the discord community by clicking the invite link on the discord badge (also above). [![Discord Channel][discord-badge]][discord-url].\n\nOr join our Slack channel: [![Slack Channel][slack-logo]![slack-badge]][slack-url].\n\n## Documentation\n\n\u003Chttps:\u002F\u002Fgoswagger.io>\n\n##  Features\n\n`go-swagger` brings to the go community a complete suite of fully-featured, high-performance, API components to  work with a Swagger API: server, client and data model.\n\n* Generates a server from a swagger specification\n* Generates a client from a swagger specification\n* Generates a CLI (command line tool) from a swagger specification (alpha stage)\n* Supports most features offered by jsonschema and swagger, including polymorphism\n* Generates a swagger specification from annotated go code\n* Additional tools to work with a swagger spec\n* Great customization features, with vendor extensions and customizable templates\n\nOur focus with code generation is to produce idiomatic, fast go code, which plays nice with golint, go vet etc.\n\n[More details](https:\u002F\u002Fgoswagger.io\u002Fgo-swagger\u002Ffeatures).\n\n##  Project status\n\nThis project supports OpenAPI 2.0. **At this moment it does not support OpenAPI 3.x**.\n\n`go-swagger` is now feature complete and has stabilized its API.\n\nMost features and building blocks are now in a stable state, with a rich set of CI tests.\n\nThe go-openapi community actively continues bringing fixes and enhancements to this code base.\n\nThere is still much room for improvement: contributors and PR's are welcome. You may also get in touch with maintainers on [our slack channel](https:\u002F\u002Fslackin.goswagger.io).\n\n## Installing\n\n```sh\ngo install github.com\u002Fgo-swagger\u002Fgo-swagger\u002Fcmd\u002Fswagger@latest\n```\n\n`go-swagger` is also available as binary or docker releases as well as from source: [more details](https:\u002F\u002Fgoswagger.io\u002Fgo-swagger\u002Finstall).\n\n## Try it\n\nTry `go-swagger` in a free online workspace using Gitpod:\n\n[![Open in Gitpod](https:\u002F\u002Fgitpod.io\u002Fbutton\u002Fopen-in-gitpod.svg)](https:\u002F\u002Fgitpod.io#https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger)\n\n## Licensing\n\nThe toolkit itself is licensed under an Apache Software License 2.0:\n[SPDX-License-Identifier: Apache-2.0](.\u002FLICENSE).\n\nJust like swagger, this does not cover code generated by the toolkit. That code is entirely yours to license however you see fit.\n\n### Licence scan on dependencies \n\n[![FOSSA Status][fossa-badge-large]][fossa-url-large]\n\n\u003C!-- Badges: status  -->\n[test-badge]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Ftest.yaml\u002Fbadge.svg\n[test-url]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Ftest.yaml\n[cov-badge]: https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgo-swagger\u002Fgo-swagger\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg\n[cov-url]: https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgo-swagger\u002Fgo-swagger\n[vuln-scan-badge]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Fscanner.yaml\u002Fbadge.svg\n[vuln-scan-url]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Fscanner.yaml\n[codeql-badge]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Fcodeql.yaml\u002Fbadge.svg\n[codeql-url]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Factions\u002Fworkflows\u002Fcodeql.yaml\n\u003C!-- Badges: release & docker images  -->\n[release-badge]: https:\u002F\u002Fbadge.fury.io\u002Fgh\u002Fgo-swagger%2Fgo-swagger.svg\n[release-url]: https:\u002F\u002Fbadge.fury.io\u002Fgh\u002Fgo-swagger%2Fgo-swagger\n[quay-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdynamic\u002Fjson?url=https%3A%2F%2Fquay.io%2Fapi%2Fv1%2Frepository%2Fgoswagger%2Fswagger%2Ftag%2F%3Flimit%3D1%26onlyActiveTags%3Dtrue%26filter_tag_name%3Dlike%3Av&label=Container%20Registry%20on%20quay.io&query=%24.tags[:1].name&logo=redhatopenshift&logoColor=#EE0000?color=green\n[quay-url]: https:\u002F\u002Fquay.io\u002Frepository\u002Fgoswagger\u002Fswagger?tab=tags\n[ghcr-badge]: https:\u002F\u002Fghcr-badge-ipv2.onrender.com\u002Fgo-swagger\u002Fgo-swagger\u002Flatest_tag?ignore=sha-*,edge,master&label=Container%20Registry%20on%20Github\n[ghcr-url]: https:\u002F\u002Fgithub.com\u002Forgs\u002Fgo-swagger\u002Fpackages\u002Fcontainer\u002Fgo-swagger\u002Fversions?filters[version_type]=tagged\n\u003C!-- Badges: code quality  -->\n[gocard-badge]: https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\n[gocard-url]: https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\n[codefactor-badge]: https:\u002F\u002Fimg.shields.io\u002Fcodefactor\u002Fgrade\u002Fgithub\u002Fgo-swagger\u002Fgo-swagger\n[codefactor-url]: https:\u002F\u002Fwww.codefactor.io\u002Frepository\u002Fgithub\u002Fgo-swagger\u002Fgo-swagger\n\u003C!-- Badges: documentation & support -->\n[doc-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdoc-site-blue?link=https%3A%2F%2Fgoswagger.io%2Fgo-swagger%2F\n[doc-url]: https:\u002F\u002Fgoswagger.io\u002Fgo-swagger\n[godoc-badge]: https:\u002F\u002Fgodoc.org\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger?status.svg\n[godoc-url]: http:\u002F\u002Fgodoc.org\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\n[slack-logo]: https:\u002F\u002Fa.slack-edge.com\u002Fe6a93c1\u002Fimg\u002Ficons\u002Ffavicon-32.png\n[slack-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fslack-blue?link=https%3A%2F%2Fgoswagger.slack.com%2Farchives%2FC04R30YM\n[slack-url]: https:\u002F\u002Fgoswagger.slack.com\u002Farchives\u002FC04R30YMU\n[discord-badge]: https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1446918742398341256?logo=discord&label=discord&color=blue\n[discord-url]: https:\u002F\u002Fdiscord.gg\u002FFfnFYaC3k5\n\u003C!-- Badges: license & compliance -->\n[license-badge]: http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%20v2-orange.svg\n[license-url]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002F?tab=Apache-2.0-1-ov-file#readme\n[ossf-badge]: https:\u002F\u002Fapi.securityscorecards.dev\u002Fprojects\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Fbadge\n[ossf-url]: https:\u002F\u002Fsecurityscorecards.dev\u002Fviewer\u002F?uri=github.com\u002Fgo-swagger\u002Fgo-swagger\n[ossf-cci-badge]: https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F11359\u002Fbadge\n[ossf-cci-url]: https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F11359\n[ossf-baseline]: https:\u002F\u002Fwww.bestpractices.dev\u002Fprojects\u002F11359\u002Fbaseline\n[fossa-badge]: https:\u002F\u002Fapp.fossa.io\u002Fapi\u002Fprojects\u002Fgit%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=shield\n[fossa-url]: https:\u002F\u002Fapp.fossa.io\u002Fprojects\u002Fgit%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_shield\n[fossa-badge-large]: https:\u002F\u002Fapp.fossa.io\u002Fapi\u002Fprojects\u002Fgit%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=large\n[fossa-url-large]: https:\u002F\u002Fapp.fossa.io\u002Fprojects\u002Fgit%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_large\n[oai-url]: https:\u002F\u002Fraw.githubusercontent.com\u002Fswagger-api\u002Fswagger-spec\u002Fmaster\u002FLICENSE\n\u003C!-- Badges: others & stats -->\n[goversion-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fgo-mod\u002Fgo-version\u002Fgo-swagger\u002Fgo-swagger\n[goversion-url]: https:\u002F\u002Fgithub.com\u002Fgo-swagger\u002Fgo-swagger\u002Fblob\u002Fmaster\u002Fgo.mod\n[top-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flanguages\u002Ftop\u002Fgo-swagger\u002Fgo-swagger\n[commits-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommits-since\u002Fgo-swagger\u002Fgo-swagger\u002Flatest\n","go-swagger\u002Fgo-swagger 是一个用 Go 语言实现的 Swagger 2.0（即 OpenAPI 2.0）工具集，旨在帮助开发者处理和生成符合 Swagger 规范的 RESTful API 文档。其核心功能包括代码生成、API 文档生成以及对 Swagger 规范的支持，能够显著提高 API 开发效率与文档质量。项目具备丰富的命令行工具和库支持，便于集成到现有 CI\u002FCD 流程中。适用于需要快速构建高质量 API 接口文档并希望保持代码与文档同步更新的场景，特别适合那些使用 Go 语言进行后端开发的团队。","2026-06-11 03:02:21","top_language"]