Swagger/OpenAPIドキュメントを生成
Generate Swagger/OpenAPI documentation from Go source code using swag. Use after adding or modifying API endpoints to update documentation.
/plugin marketplace add no-problem-dev/claude-code-plugins/plugin install go-backend@no-problem-pluginsなしswag を使用してSwagger/OpenAPIドキュメントを生成します。
${CLAUDE_PLUGIN_ROOT}/scripts/go-swagger.sh
swag がインストールされている必要があります(未インストールの場合は自動インストール):
go install github.com/swaggo/swag/cmd/swag@latest
GO_BACKEND_DIR: バックエンドディレクトリGO_MAIN_PATH: main.go のパス/go-backend:go-run でSwagger UIを確認