Skip to content

Comments

Heyapi & zod4: 2 - heyapi for generation#38

Merged
publicJorn merged 1 commit intomainfrom
heyapi-and-zod4/heyapi
Feb 10, 2026
Merged

Heyapi & zod4: 2 - heyapi for generation#38
publicJorn merged 1 commit intomainfrom
heyapi-and-zod4/heyapi

Conversation

@publicJorn
Copy link
Member

The first PR in a series to upgrade the api generation tool to heyapi and upgrade zod.

Zod is currently a kind of glue, but NONE of the packages that use zod in this project are updated anymore.
Instead of 1 big PR that updates all, to keep it sane I will create multiple smaller PRs.

This PR replaces the api functions generator with heyapi.

  • Builds on previous PR
  • Simpler openapi test file
  • Using controlled form in login page, because we didn't choose a preferred form yet and it is simple to understand for everyone
  • If there would be a backend, using the existing auth should work by setting token. The middleware sets it on subsequent requests (copied from viqio)
  • Updated docs and configs

@publicJorn publicJorn requested a review from maanlamp as a code owner February 9, 2026 07:51
@publicJorn publicJorn self-assigned this Feb 9, 2026
@publicJorn publicJorn force-pushed the heyapi-and-zod4/heyapi branch 2 times, most recently from 09c71a6 to 3ed608d Compare February 10, 2026 10:22
maanlamp
maanlamp previously approved these changes Feb 10, 2026
@publicJorn publicJorn force-pushed the heyapi-and-zod4/remove-zorm branch from 77ee797 to 2307a0d Compare February 10, 2026 12:22
Base automatically changed from heyapi-and-zod4/remove-zorm to main February 10, 2026 12:24
@publicJorn publicJorn dismissed maanlamp’s stale review February 10, 2026 12:24

The base branch was changed.

@publicJorn publicJorn force-pushed the heyapi-and-zod4/heyapi branch 2 times, most recently from eec2fb7 to 4dd604a Compare February 10, 2026 14:52
simplify openapi test spec file

this is an excerpt of real-live spec generated by scramble in laravel.

replace generator with heyapi

update docs and extension recommendations

fix scripts

introducing env variable setup

uncommented non-working login and added fake login button

fixed docs
@publicJorn publicJorn force-pushed the heyapi-and-zod4/heyapi branch from 4dd604a to d470136 Compare February 10, 2026 14:58
@publicJorn
Copy link
Member Author

Did a manual rebase and squash to align with the previous PR that got squased & merged. Makes it easier to update PR 3.

Will merge because it was approved and nothing else changed.

@publicJorn publicJorn merged commit 9b759c8 into main Feb 10, 2026
1 check passed
@publicJorn publicJorn deleted the heyapi-and-zod4/heyapi branch February 10, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants