{"id":50471,"library":"swaggo-swag","title":"Swaggo Swag","description":"Package swag converts Go annotations to Swagger Documentation 2.0.","status":"active","version":"1.16.6","language":"go","source_language":null,"source_url":"https://github.com/swaggo/swag","tags":["swagger","documentation","annotations","api"],"install":[{"cmd":"go get github.com/swaggo/swag","lang":"bash","label":"Install github.com/swaggo/swag"}],"dependencies":[],"imports":[{"symbol":"swag","correct":"github.com/swaggo/swag"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/swaggo/swag\"\n)\n\nfunc main() {\n\tfmt.Println(swag.Version)\n}","lang":"go","description":"Print the swag version"},"warnings":[],"env_vars":null,"search_vec":"'2.0':11 'annot':7,14 'api':15 'convert':5 'document':10,13 'go':6 'packag':3 'swag':2,4 'swagger':9,12 'swaggo':1","created_at":"2026-06-15T04:54:51.812332+00:00","updated_at":"2026-06-15T04:54:51.812332+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/swaggo/swag","github":"https://github.com/swaggo/swag","docs":"https://pkg.go.dev/github.com/swaggo/swag#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}