azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
New Feature: Choose host URL through querystring parameter
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.