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

✨ Migrate to latest openapi-ts #1430

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

patrick91
Copy link
Contributor

No description provided.

@patrick91 patrick91 force-pushed the feature/update-openapi-ts branch from c9f9875 to ab2331d Compare November 22, 2024 14:51
@patrick91 patrick91 added the feature New feature or request label Nov 22, 2024
@patrick91 patrick91 marked this pull request as ready for review November 22, 2024 14:59
plugins: [
{
name: "@hey-api/sdk",
// NOTE: this doesn't allow tree-shaking
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left this as a note, maybe we can change this setting in future (though it would require us to change quite a bit of code 😊)

@@ -8,7 +8,7 @@
"build": "tsc && vite build",
"lint": "biome check --apply-unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./",
"preview": "vite preview",
"generate-client": "openapi-ts --input ./openapi.json --output ./src/client --client axios --exportSchemas true"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of this is now in the config above 😊

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with this we could technically remove the modify ids file, but I'd say we do that in another PR 😊

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in #1434

@patrick91 patrick91 force-pushed the feature/update-openapi-ts branch from ab2331d to 79d3afd Compare November 25, 2024 10:49
@patrick91 patrick91 requested a review from alejsdev November 25, 2024 12:17
@alejsdev
Copy link
Member

Cool! Thank you 🚀

Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you! 🚀 🍰

@tiangolo tiangolo merged commit a21c57a into master Nov 27, 2024
15 checks passed
@tiangolo tiangolo deleted the feature/update-openapi-ts branch November 27, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants