(WIP) MI-56 investigate options for automatic generation of typescript code from api specs (DONT MERGE) #1087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A WIP PR for the openapi code generation plugin. This work also includes an upgrade to Nx 19 this was to try and resolve one of the issues mentioned below - but I can confirm the plugin code does work with the current version on Nx.
Some problems/WIP stuff I've been facing with the plugin that I'm working through:
no-extreneous-dependency
check. I assumed that it was related to this issue so I attempted a big upgrade to Nx 19 but no luck.As mentioned before, this is a further extension of api gen. If this isn't a valid solution, theres always the option of just running the
openapi-typescript
command using nx anyways. The benefit of the plugin is it can scaffold some other small files that are needed for a more complete "api client"