Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 Run biome after OpenAPI client generation #1226

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

tomerb
Copy link
Contributor

@tomerb tomerb commented Jun 7, 2024

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 alejsdev changed the title Run biome after OpenAPI client generation 🎨 Run biome after OpenAPI client generation Jun 27, 2024
@alejsdev alejsdev merged commit 960a38a into tiangolo:master Jun 27, 2024
3 checks passed
@alejsdev
Copy link
Collaborator

Cool! Thank you @tomerb 😎

d4vidsha added a commit to d4vidsha/scheduler that referenced this pull request Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants