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
16 stars 2 forks source link

feat: add a prettier based formatter #213

Closed mnahkies closed 1 month ago

mnahkies commented 1 month ago

for whatever reason biome doesn't want to work in the web browser for me using @biomejs/wasm-web - so lets add back prettier formatting support, and use this in a web setting.

it could be cool to auto-detect whether a project is using biome / prettier when generating from the cli and adjust the formatter to match in future.