mnahkies / 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.
https://openapi-code-generator.nahkies.co.nz/
MIT License
17 stars 2 forks source link

feat: support typespec as an input format #158

Closed mnahkies closed 4 months ago

mnahkies commented 4 months ago

adds https://typespec.io/ as a supported input format, using it's typespec -> openapi3 conversion package.

yarn add "@typespec/compiler" "@typespec/http" "@typespec/openapi" "@typespec/openapi3" "@typespec/versioning"

also finally got sick of xargs requiring a 255 exit code to halt on failure, and switched the integration test generation scripts over to node, which also prefixes the output to make it easier to follow.

resolves #148