{"id":75539,"library":"swaggo-http-swagger-v2","title":"HTTP Swagger","description":"A Go HTTP handler that serves Swagger UI for API documentation generated by swaggo.","status":"active","version":"2.0.2","language":"go","source_language":null,"source_url":"https://github.com/swaggo/http-swagger","tags":["swagger","openapi","docs","http"],"install":[{"cmd":"go get github.com/swaggo/http-swagger/v2","lang":"bash","label":"Install github.com/swaggo/http-swagger/v2"}],"dependencies":[],"imports":[{"symbol":"httpSwagger","correct":"github.com/swaggo/http-swagger/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"github.com/swaggo/http-swagger/v2\"\n)\n\nfunc main() {\n\thttp.Handle(\"/swagger/\", httpSwagger.Handler())\n\thttp.ListenAndServe(\":8080\", nil)\n}","lang":"go","description":"Serves Swagger UI at /swagger/."},"warnings":[{"fix":"Use /v2 import path and update handler signature.","message":"Version 2 has breaking changes from v1, including import path.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'api':12 'doc':19 'document':13 'generat':14 'go':4 'handler':6 'http':1,5,20 'openapi':18 'serv':8 'swagger':2,9,17 'swaggo':16 'ui':10","created_at":"2026-06-17T19:17:57.912537+00:00","updated_at":"2026-06-17T19:17:57.912537+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/http-swagger","github":"https://github.com/swaggo/http-swagger","docs":"https://pkg.go.dev/github.com/swaggo/http-swagger/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}