What problem does it solve?
This Skill automates the generation of HTTP request examples from Spring Boot REST controllers, enabling quick API documentation and testing without manual crafting.
Core Features & Use Cases
- Automatically discovers modules with controllers and extracts mappings from @RequestMapping and related annotations.
- Generates .http files per module (and per controller) with fully qualified URLs, default @RequestParam values, and proper URL encoding.
- Provides a clean, separator-based file structure to group requests by controller and module to simplify documentation and testing workflows.
- Use case: A developer wants to quickly produce a set of API request samples for a newly added REST API surface to seed their team’s API docs.
Quick Start
Run the HTTP generator for a single module:
python .claude/skills/http-generate/scripts/http_generator.py <module_path> [output_file]
Run for all modules:
python .claude/skills/http-generate/scripts/http_generator.py all
Examples: generate for a basic module at basic/chat and save to custom.http:
python .claude/skills/http-generate/scripts/http_generator.py basic/chat custom.http