api-swagger-support
CommunityGenerate and serve API docs with swag and gin-swagger.
Authorpdylanross
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of documenting Go APIs by automatically generating Swagger/OpenAPI specifications from code annotations and serving an interactive UI.
Core Features & Use Cases
- Automated Documentation Generation: Uses
swagto createswagger.jsonandswagger.yamlfrom Go code annotations. - Interactive API UI: Leverages
gin-swaggerto serve the Swagger UI directly within a Gin web server. - Use Case: When developing a new API endpoint in Go, you can add annotations to your handler function and DTOs, then run
swag initto generate the documentation, and finally configure your Gin server to serve the interactive API documentation at/swagger/index.html.
Quick Start
Use the api-swagger-support skill to generate Swagger documentation from your Go project by running 'swag init'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-swagger-support Download link: https://github.com/pdylanross/barnacle/archive/main.zip#api-swagger-support Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.