To bring a bit of flexibility on the openAPI generator, I would like to introduce a new customGenerator for advanced configurations.
This is in response for #226 and #223, I tried a first integration in our product with some fetch generator, this works quite well 😃
I could come with something more easy to use and restrictive, but I want to give a try for more customization. Indeed, everybody project is a bit different (axios, basic fetch, rxjs…) so let's the user come with what he need!
You can have a preview of this PR in restful-react@canary
Todo
[ ] Add some docs
[ ] Add an example
Example from my integration test (to be cleaned and integrated in the PR)
Why
To bring a bit of flexibility on the openAPI generator, I would like to introduce a new
customGenerator
for advanced configurations.This is in response for #226 and #223, I tried a first integration in our product with some
fetch
generator, this works quite well 😃I could come with something more easy to use and restrictive, but I want to give a try for more customization. Indeed, everybody project is a bit different (axios, basic fetch, rxjs…) so let's the user come with what he need!
You can have a preview of this PR in
restful-react@canary
Todo
Example from my integration test (to be cleaned and integrated in the PR)
Notes
For the crazy people around, this PR could open this generator to everything else than react, angular or vue fan boys, this is for you! 😁