[Feature] Extend openapi client generation #620
Labels
Priority: Low
The issue contains work with low priority.
Template: Frontend
Issues regarding the frontend template.
Template: Webcomponent
Issues regarding the webcomponent template.
Type: Feature
The issue is an feature
Relevant template
No response
Problem description (optional)
After closing this issue the api will be generated automatically.
But using it in the client still leaves some room for improvement. Futhermore there exists not generator for vue.
Desired solution
Generate some api function with vue functionality (reactivity - see example below).
This example exposes reactive variables to the component which simplifies the implementation a lot in VueJS.
The below code can be used to manually create those function for each api call - this is probably doable for a few request but not if this needs to be done for the whole specification.
Example for some generic vue implementation for calling the api:
Considered alternatives (optional)
Alternative soultion would be to customize the openapi generator. This can be done with the provided
.mustache
files (example for the DefaultApi).Now there exist two ways to do this:
typescript-vue
Additional context (optional)
No response
No duplicate
Code of Conduct
The text was updated successfully, but these errors were encountered: