swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.48k stars 8.96k forks source link

No name property is assigned to "Server" Combobox. #9954

Open msftedad opened 5 months ago

msftedad commented 5 months ago

Q&A (please complete the following information)

Content & configuration

Example Swagger/OpenAPI definition:

# your YAML here

Swagger-UI configuration options:

SwaggerUI({
  // your config options here
})
?yourQueryStringConfig

Describe the bug you're encountering

To reproduce...

Steps to reproduce the behavior:

  1. Launch the URL : https://codesandbox.io/p/sandbox/swagger-ui-forked-kcm88z?file=%2fpackage.json%3A7%2C20
  2. TAB till "Sever" Combobox.
  3. Observe that name property is defined for the Combobox or not.

Actual result

No name property is assigned to "Server" Combobox.

Expected behavior

Correct Name property should be assigned to "Server" Combobox.

Screenshots

Screenshot 2024-02-29 172105

Additional context or thoughts

msftedad commented 2 months ago

Hi @maggiewachs, Is there any update on this bug, and could you please provide a tentative ETA for fixing it?

maggiewachs commented 2 months ago

See my comment here: https://github.com/swagger-api/swagger-ui/issues/8172#issuecomment-2286601376