You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature request style: Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.
explode: When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.
What you are trying to do
As referring upon, when I want to use an object as a query parameter, i.e. with style == form and explode == false, an example could be www.127.0.0.1:8888/test?color=R,100,G,200,B,150 , I have read the source code and found that it seems impossible to implement a response to this situation.
In addition, when I want to use an object as a path parameter, when style == simple and explode == false, an example could be www.127.0.0.1:8888/test/R,100,G,200,B,150 , seems cannot be successfully identified either.
The solution you'd like
Perhaps the version I am currently using (5.11.1) is incorrect. Does any new version support the above features? If not, can it be updated accordingly?
The text was updated successfully, but these errors were encountered:
Describe the feature request
style: Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form.
explode: When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false.
referring: https://swagger.io/specification/
What you are trying to do
As referring upon, when I want to use an object as a query parameter, i.e. with style == form and explode == false, an example could be www.127.0.0.1:8888/test?color=R,100,G,200,B,150 , I have read the source code and found that it seems impossible to implement a response to this situation.
In addition, when I want to use an object as a path parameter, when style == simple and explode == false, an example could be www.127.0.0.1:8888/test/R,100,G,200,B,150 , seems cannot be successfully identified either.
The solution you'd like
Perhaps the version I am currently using (5.11.1) is incorrect. Does any new version support the above features? If not, can it be updated accordingly?
The text was updated successfully, but these errors were encountered: