-
Notifications
You must be signed in to change notification settings - Fork 8
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
Generate the Client and models from the openapi spec #119
Comments
The generator likely won't be able to generate anything nice until we fix the generated openapi spec a bit. It likely depends on trustification/trustify#580 being fixed first. |
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 22, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 24, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Jul 25, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Signed-off-by: Hiram Chirino <[email protected]>
chirino
added a commit
to chirino/trustify-ui
that referenced
this issue
Aug 5, 2024
* Initial step in implementing trustification#119 The generated code lived in to the `client/src/app/client`. The goal should be to replace all the api calls with client calls. Added `npm run generate` and `npm run prettier` sub commands. Signed-off-by: Hiram Chirino <[email protected]>
This has been done already some time ago, I don't recall the exact PR though. Closing this issue as it has been completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As UI developers and Backend developers are working separately it would be good relying on the openapi spec to generate the models and/or the client for communicating with the backend.
Here is a tool that might help https://github.com/hey-api/openapi-ts
This is a proposal and should be properly evaluated to consider if it makes things easier. If it increases complexity then no.
The text was updated successfully, but these errors were encountered: