swagger-annotations

Community

Auto-fill Swagger/OpenAPI annotations for Spring.

AuthorBNTang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Swagger/Knife4j/OpenAPI annotation automation tool analyzes Spring Boot REST controllers and automatically injects missing Swagger metadata to ensure consistent API documentation across the codebase.

Core Features & Use Cases

  • Detects Swagger 2.x, OpenAPI 3.x, and Knife4j styles and generates appropriate class-level and method-level annotations.
  • Generates VO/DTO model annotations (ApiModel/Schema) and property descriptions to keep API documents in sync with code.
  • Provides migration guidance between versions and saves time during code reviews, onboarding, and documentation upgrades.

Quick Start

Activate the skill against a Spring Boot project; it will scan controllers, augment missing annotations, and propose diffs or apply updates to produce well-documented endpoints.

Dependency Matrix

Required Modules

None required

Components

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: swagger-annotations
Download link: https://github.com/BNTang/Sa-Token-Demo/archive/main.zip#swagger-annotations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.