Azure / Azure/azure-functions-openapi-extension
New Feature: Choose host URL through querystring parameter
Open
documentation
enhancement
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
OpenAPI spec v3 supports multiple server hosts while Swagger UI only takes the first one to render endpoints.
If devs pass the index number through the querystring parameter, the Swagger UI should use the server host URL based on the index.
It's particularly useful for the APIM integration scenario, instead of having to modify environment variables `OpenApi__HostNames`.
Contributor guide
Assessment
This issue has not been assessed yet.