{"id":13367483,"url":"https://github.com/Go-swagger/Go-swagger","last_synced_at":"2025-03-12T18:32:55.575Z","repository":{"id":23365312,"uuid":"26726495","full_name":"go-swagger/go-swagger","owner":"go-swagger","description":"Swagger 2.0 implementation for go","archived":false,"fork":false,"pushed_at":"2024-09-27T16:28:57.000Z","size":54460,"stargazers_count":9507,"open_issues_count":593,"forks_count":1251,"subscribers_count":120,"default_branch":"master","last_synced_at":"2024-10-14T09:14:21.540Z","etag":null,"topics":["api","code-generator","go","golang","swagger-codegen","swagger-spec","swagger-specification"],"latest_commit_sha":null,"homepage":"https://goswagger.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-swagger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-16T20:13:15.000Z","updated_at":"2024-10-12T22:09:45.000Z","dependencies_parsed_at":"2023-11-25T22:24:12.027Z","dependency_job_id":"e2561b6b-9b9f-4b01-b114-1330d4d148ac","html_url":"https://github.com/go-swagger/go-swagger","commit_stats":{"total_commits":2491,"total_committers":352,"mean_commits":7.076704545454546,"dds":0.4460056202328382,"last_synced_commit":"77f973a51c1dd3a8b95466b1c08cd9e529a69cfa"},"previous_names":["casualjim/go-swagger"],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-swagger%2Fgo-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-swagger%2Fgo-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-swagger%2Fgo-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-swagger%2Fgo-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-swagger","download_url":"https://codeload.github.com/go-swagger/go-swagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221309990,"owners_count":16795839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","code-generator","go","golang","swagger-codegen","swagger-spec","swagger-specification"],"created_at":"2024-07-30T00:01:50.608Z","updated_at":"2025-03-12T18:32:55.553Z","avatar_url":"https://github.com/go-swagger.png","language":"Go","readme":"# Swagger 2.0 [![Run CI](https://github.com/go-swagger/go-swagger/actions/workflows/test.yaml/badge.svg)](https://github.com/go-swagger/go-swagger/actions/workflows/test.yaml) [![codecov](https://codecov.io/gh/go-swagger/go-swagger/branch/master/graph/badge.svg)](https://codecov.io/gh/go-swagger/go-swagger)[![Go Report Card](https://goreportcard.com/badge/github.com/go-swagger/go-swagger)](https://goreportcard.com/report/github.com/go-swagger/go-swagger)\n\n[![GitHub version](https://badge.fury.io/gh/go-swagger%2Fgo-swagger.svg)](https://badge.fury.io/gh/go-swagger%2Fgo-swagger) [![Docker Repository on Quay](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fquay.io%2Fapi%2Fv1%2Frepository%2Fgoswagger%2Fswagger%2Ftag%2F%3Flimit%3D1%26onlyActiveTags%3Dtrue%26filter_tag_name%3Dlike%3Av\u0026label=Docker%20Repository%20on%20Quay\u0026query=%24.tags[:1].name)](https://quay.io/repository/goswagger/swagger?tab=tags) [![Docker Repository on Github](https://ghcr-badge.egpl.dev/go-swagger/go-swagger/latest_tag?trim=major\u0026ignore=sha-*\u0026label=Docker%20Repository%20on%20Github)](https://github.com/orgs/go-swagger/packages/container/go-swagger/versions) ![GitHub commits since latest release](https://img.shields.io/github/commits-since/go-swagger/go-swagger/latest)\n\n[![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io)\n[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/swagger-api/swagger-spec/master/LICENSE)\n[![GoDoc](https://godoc.org/github.com/go-swagger/go-swagger?status.svg)](http://godoc.org/github.com/go-swagger/go-swagger)\n\n[![Open SSF Scorecard](https://api.securityscorecards.dev/projects/github.com/go-swagger/go-swagger/badge)](https://securityscorecards.dev/viewer/?uri=github.com/go-swagger/go-swagger)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_shield)\n\n---\n\nThis project contains a golang implementation of Swagger 2.0 (aka [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/old-v3.2.0-dev/versions/2.0.md)).\nIt provide tools to work with swagger specifications.\n\n[Swagger](https://swagger.io/) is a simple yet powerful representation of your RESTful API.\u003cbr\u003e\n\n## Documentation\n\n\u003chttps://goswagger.io\u003e\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://goswagger.io/go-swagger/features).\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://slackin.goswagger.io).\n\n## Installing\n\n```sh\ngo install github.com/go-swagger/go-swagger/cmd/swagger@latest\n```\n\n`go-swagger` is also available as binary or docker releases as well as from source: [more details](https://goswagger.io/go-swagger/install).\n\n## Try it\n\nTry `go-swagger` in a free online workspace using Gitpod:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/go-swagger/go-swagger)\n\n## Licensing\n\nThe toolkit itself is licensed under an Apache Software License 2.0.\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[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_large)\n","funding_links":[],"categories":["Go 语言工具","Go 語言工具"],"sub_categories":["路由"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGo-swagger%2FGo-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGo-swagger%2FGo-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGo-swagger%2FGo-swagger/lists"}