Open API Model generator
npm install @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.
---
Part of the monorepo mosaik
Package path: tools/openapi/core
Version: see npm
License: MIT
---
``bash`
yarn add @breadstone-tools/openapi-coreor
npm install @breadstone-tools/openapi-core
---
`typescript
import { OpenApiParser } from '@breadstone-tools/openapi-core';
// Example: Parse an OpenAPI spec
const parser = new OpenApiParser();
const result = parser.parse('./api/openapi.json');
`
---
- Parses OpenAPI 3.x (JSON/YAML) files
- Provides model and service generation utilities
- Integrates with custom templates
---
- Use as the foundation for OpenAPI code generation workflows.
- Integrate with the CLI/app package for end-to-end automation.
---
`bash``
yarn nx run openapi-core:publish
---
MIT © Breadstone
---