Azure / Azure/azure-functions-openapi-extension

New Feature: Choose host URL through querystring parameter

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.