swagger-api / swagger.io-docs

The content of swagger.io
https://swagger.io/docs/
1.56k stars 397 forks source link

error in "Parameter Serialization" page: style=label #342

Open karenetheridge opened 11 months ago

karenetheridge commented 11 months ago

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 commented 11 months ago

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