extract-openapi-from-code

Official

Automatically extract OpenAPI specs from code.

Authorspeakeasy-api
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of generating an OpenAPI specification from existing API code bases across popular frameworks.

Core Features & Use Cases

  • Extract an OpenAPI spec from code for projects using FastAPI, Flask, Django, Spring Boot, NestJS, Hono, Rails, and Laravel.
  • Validate and align the generated spec with your codebase, enabling SDK generation and API documentation workflows.
  • Use case: you manage a monorepo with multiple services and need a single OpenAPI document for your APIs.

Quick Start

Use the extract-openapi-from-code skill to generate an OpenAPI spec from your FastAPI service located at ./service/main.py.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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/speakeasy-api/skills/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 471,000+ vetted skills library on demand.