asfaltboy / openapi-code-generator

A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nahkies/openapi-code-generator

CI/CD npm

This project should be considered alpha quality. However, as shown by the integration tests, it does a fair job of generating a strongly typed client for large/complex definitions like the GitHub api.

Project Structure

The repository is structured as a mono repo of several npm packages that work together under ./packages:

The openapi-code-generator package is the main package, whilst the others are supporting packages used at runtime by the code output by some of the templates.

Integration test definitions live in ./integration-tests-definitions and the generated code output to ./integration-tests

Scripts to refresh the test data live in ./scripts

Documentation

Please see ./packages/openapi-code-generator for the main README.md, detailing the goals of the project and usage information.

Contributing

Contributing guidelines can be found in ./CONTRIBUTING.md.

An overview of the codebase architecture is in ./packages/openapi-code-generator/ARCHITECTURE.md

License

See ./LICENSE

About

A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.

License:MIT License


Languages

Language:TypeScript 99.8%Language:HTML 0.2%Language:JavaScript 0.0%Language:Shell 0.0%Language:CSS 0.0%