{"id":29189494,"url":"https://github.com/teambition/swaggo","last_synced_at":"2025-07-01T23:08:26.666Z","repository":{"id":41247844,"uuid":"82171193","full_name":"teambition/swaggo","owner":"teambition","description":"Convert Go annotations to Swagger Documentation (version 2.0)","archived":false,"fork":false,"pushed_at":"2022-12-05T10:46:21.000Z","size":2895,"stargazers_count":72,"open_issues_count":4,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-24T20:56:23.312Z","etag":null,"topics":["annotation","api-documentation","comment","document","swagger","v2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teambition.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T10:56:37.000Z","updated_at":"2025-03-18T04:22:02.000Z","dependencies_parsed_at":"2023-01-24T04:31:52.884Z","dependency_job_id":null,"html_url":"https://github.com/teambition/swaggo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teambition/swaggo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambition%2Fswaggo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambition%2Fswaggo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambition%2Fswaggo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambition%2Fswaggo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teambition","download_url":"https://codeload.github.com/teambition/swaggo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambition%2Fswaggo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263047676,"owners_count":23405280,"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":["annotation","api-documentation","comment","document","swagger","v2"],"created_at":"2025-07-01T23:08:25.955Z","updated_at":"2025-07-01T23:08:26.637Z","avatar_url":"https://github.com/teambition.png","language":"Go","readme":"Swaggo - `v0.2.8`\n=====\nParse annotations from Go code and generate [Swagger Documentation](http://swagger.io/)\n\n[![Build Status](http://img.shields.io/travis/teambition/swaggo.svg?style=flat-square)](https://travis-ci.org/teambition/swaggo)\n[![Coverage Status](http://img.shields.io/coveralls/teambition/swaggo.svg?style=flat-square)](https://coveralls.io/r/teambition/swaggo)\n[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/teambition/swaggo/master/LICENSE)\n\n\u003c!-- TOC --\u003e\n\n- [About](#about)\n- [Quick Start Guide](#quick-start-guide)\n    - [Install](#install)\n    - [Declarative Comments Format](#declarative-comments-format)\n    - [Usage](#usage)\n    - [Kpass Example](#kpass-example)\n    - [TODO(In the near future)](#todoin-the-near-future)\n\n\u003c!-- /TOC --\u003e\n\n## About\n\nGenerate API documentation from annotations in Go code. It's always used for you Go server application.\nThe swagger file accords to the [Swagger Spec](https://github.com/OAI/OpenAPI-Specification) and displays it using\n[Swagger UI](https://github.com/swagger-api/swagger-ui)(this project dosn't provide).\n\n## Quick Start Guide\n\n### Install\n\n```shell\ngo get -u -v github.com/teambition/swaggo\n```\n\n### Declarative Comments Format\n\n[中文](https://github.com/teambition/swaggo/wiki/Declarative-Comments-Format)\n\n### Usage\n\n```shell\nswaggo --help\n```\n\n### Kpass Example\n\n[Kpass](https://github.com/seccom/kpass#swagger-document)\n\n### TODO(In the near future)\n\n- [ ] Support API without Controller structure \n- [ ] Explain declarative comments format with english \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambition%2Fswaggo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteambition%2Fswaggo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambition%2Fswaggo/lists"}