redux-toolkit
redux-toolkit copied to clipboard
Update swagger-parser dependency for code-gen to support open api 3.1.0
Currently if you try to run RTKQuery code-gen against a 3.1.0 api, you'll get an error saying swagger-parser package doesn't support that version.
The latest version swagger parser (10.1) does support it. I tested by forcing the dependency to upgrade and it works as expected.
Hopefully this is as simple as updating the package.json?
I had the above problem in my project. I avoided the above problem by writing in the resolutions in package.json.
We did some codegen tooling updates a few months ago. Please let us know if this is still an issue!