-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Mixed type array with array of objects in location path #2276
Comments
@hanumachari I've edited your example to make it a complete OAS document so it's easier for people to test, let me know if I've made any wrong assumptions. |
@MikeRalphson Thanks a lot :) |
@hanumachari if this is still of interest, the problem here is that the OAS only specifies how to handle one level of parameter nesting. Exploded label-style arrays are serialized as each value separated by It would be good to at least clarify that this scenario is not supported. |
Clarification added in PR #3818 |
PR merged for 3.0.4 and ported to 3.1.1 in PR #3921 – we now note that representations for array and object properties in the deepObject object are not defined. |
Hello,
I need some help on mixed type array with array of objects in path location. I have defined following schema in yaml file
I used swagger editor to get request URL (GET operation) containing parameter in path location, swagger generated request URL which looks not meaningful and confusing as it contains string "[object]" as a parameter i.e http:https://10.240.185.191/path/.[object Object].[object Object]
can someone let me know how array of object parameters would be serialized in path location (i.e in URL) in request, so that I can deserialize at server side
![swagger](https://user-images.githubusercontent.com/67452320/85822615-f31e9080-b798-11ea-8a8b-4db1dcf62cbc.JPG)
The text was updated successfully, but these errors were encountered: