-
Task
-
Resolution: Won't Do
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
OpenAPI spec allows for multiple server information. We currently use this server information to show the base urls information. We also choose one of these base urls in our code samples.
Instead of randomly choosing one base url for our code samples, we should let the user decide which base url they want displayed by the use of a dropdown.
We have a few options that we need to decide on:
- Replace the base url section at the top of the page with a dropdown. Once the user selects one base url from the dropdown, the urls in the code samples will be updated to use the selected base url.
- Put a base url selection dropdown under each code sample component. Once the user selects one base url from the dropdown, update it everywhere.
- Add a standalone base url selection dropdown at the top of the page. Update the base url everywhere after selection.
Some examples:
Swagger:
Stoplight:
- clones
-
RHCLOUD-28733 Add a dropdown to select server
- Closed