swagger.io icon indicating copy to clipboard operation
swagger.io copied to clipboard

error in "Parameter Serialization" page: style=label

Open karenetheridge opened this issue 1 year ago • 1 comments

There is an error at https://swagger.io/docs/specification/serialization/#path -- the example for style=label, explode=false, type=array is /users/.3,4,5 when it should be /users/.3.4.5, and type=object is /users/.role,admin,firstName,Alex but should be /users/.role.admin.firstName.Alex.

e.g. compare to https://spec.openapis.org/oas/v3.0.3#style-examples

karenetheridge avatar Oct 23 '23 19:10 karenetheridge

I may not be right - see the OAI PR referenced above

karenetheridge avatar Oct 23 '23 19:10 karenetheridge