tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
24.44k stars 4.12k forks source link

🎨 Run biome after OpenAPI client generation #1226

Closed tomerb closed 1 week ago

tomerb commented 4 weeks ago

Since Hey API's openapi-ts CLI --format flag doesn't work (and is completely removed in newer versions), "manually" run biomi to correctly format the auto-generated code.

Note that at times the default formatting is completely broken (see schemas.ts as an example), and at times it's inconsistent (see OpenAPI.ts as an example).

alejsdev commented 1 week ago

Cool! Thank you @tomerb :sunglasses: