redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

Update swagger-parser dependency for code-gen to support open api 3.1.0

Open ChuckJonas opened this issue 3 years ago • 1 comments

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?

ChuckJonas avatar Aug 02 '22 02:08 ChuckJonas

I had the above problem in my project. I avoided the above problem by writing in the resolutions in package.json.

RyuNIshimura avatar Aug 25 '22 08:08 RyuNIshimura

We did some codegen tooling updates a few months ago. Please let us know if this is still an issue!

markerikson avatar Dec 06 '23 13:12 markerikson