extract-openapi-from-code

Community

Generate OpenAPI specs from API code.

AuthorCarlosEGuerraSilva
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of generating an OpenAPI specification directly from your existing API codebase, eliminating the need for manual spec writing and ensuring consistency between your code and its documentation.

Core Features & Use Cases

  • Framework Support: Works with popular frameworks like FastAPI, Flask, Django, Spring Boot, NestJS, Hono, Rails, and Laravel.
  • Code-First Approach: Enables a "code-first" development workflow where the API code dictates the specification.
  • SDK Generation: Facilitates the subsequent generation of client SDKs based on the extracted OpenAPI spec.
  • Use Case: You've built a new REST API using FastAPI and need to generate an OpenAPI spec to share with your frontend team and to create a client library.

Quick Start

Use the extract-openapi-from-code skill to generate an OpenAPI spec from your FastAPI project located at '/path/to/my-fastapi-project'.

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: extract-openapi-from-code
Download link: https://github.com/CarlosEGuerraSilva/OpenRouterSDK.NET/archive/main.zip#extract-openapi-from-code

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.