@breadstone-tools/openapi-core
v0.0.216
Published
Open API Model generator
Downloads
3,086
Readme
📦 @breadstone-tools/openapi-core
| Package Status | Source |
|----------------|--------|
| | tools/openapi/core |
Core logic for OpenAPI model and service generation. Parses OpenAPI 3.x specs and provides utilities for code generation.
📁 Project Structure
Part of the monorepo mosaik
Package path: tools/openapi/core
Version: see npm
License: MIT
📦 Installation
yarn add @breadstone-tools/openapi-core
# or
npm install @breadstone-tools/openapi-core🔧 Usage
import { OpenApiParser } from '@breadstone-tools/openapi-core';
// Example: Parse an OpenAPI spec
const parser = new OpenApiParser();
const result = parser.parse('./api/openapi.json');⚙️ Features
- Parses OpenAPI 3.x (JSON/YAML) files
- Provides model and service generation utilities
- Integrates with custom templates
🛠 Recommendations
- Use as the foundation for OpenAPI code generation workflows.
- Integrate with the CLI/app package for end-to-end automation.
📦 Publishing
yarn nx run openapi-core:publish📄 License
MIT © Breadstone
