-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(execute): parse stringified objects nested in arrays #3466
Conversation
We're also doing a similar thing for parameters with swagger-js/src/execute/index.js Lines 253 to 264 in f72651a
I was thinking of moving the parsing for arrays there as well, and I think it would have to look something like this:
so not sure if having this would actually be better. |
I see that we can also refactor this line
to
|
Yeah sure, it's small enough change to smuggle it with the bugfix. |
I was thinking the other way around, cannot we move the code from swagger-js/src/execute/index.js Lines 253 to 264 in f72651a
swagger-js/src/execute/index.js Lines 253 to 264 in f72651a
|
We can't move this to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. nicely done
## [3.26.8](v3.26.7...v3.26.8) (2024-04-11) ### Bug Fixes * **execute:** parse stringified objects nested in arrays ([#3466](#3466)) ([b1f2ee7](b1f2ee7))
🎉 This PR is included in version 3.26.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Refs swagger-api/swagger-ui#9521
The URL for this example:
should now be encoded as:
which should decode to: