Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This is the **ts-class-to-openapi** project - a powerful TypeScript library that transforms TypeScript classes into OpenAPI 3.1.0 schema objects.
Sign in to like and favorite skills
This is the ts-class-to-openapi project - a powerful TypeScript library that transforms TypeScript classes into OpenAPI 3.1.0 schema objects.
Transform TypeScript classes into OpenAPI-compatible schemas with support for:
reflect-metadata or emitDecoratorMetadata requiredsrc/ āāā index.ts # Main export file āāā transformer.ts # Core transformation logic āāā types.ts # Type definitions āāā __test__/ # Test files examples/ # Usage examples
import { transform } from 'ts-class-to-openapi' // Transform any TypeScript class const schema = transform(MyClass) // Returns: { name: string, schema: OpenAPISchema }
When working on this project, always consider:
Always keep this context in mind when providing suggestions, writing code, or debugging issues in this project.