trustification / trustify-ui

Trustify UI component.
2 stars 8 forks source link

Generate the Client and models from the openapi spec #119

Open carlosthe19916 opened 1 month ago

carlosthe19916 commented 1 month ago

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.

chirino commented 1 month ago

The generator likely won't be able to generate anything nice until we fix the generated openapi spec a bit. It likely depends on https://github.com/trustification/trustify/issues/580 being fixed first.