Skip to content

Unable to display APIs in Azure Function App Swagger/OpenAPI #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PingPongSet opened this issue Apr 19, 2022 · 0 comments
Open

Unable to display APIs in Azure Function App Swagger/OpenAPI #421

PingPongSet opened this issue Apr 19, 2022 · 0 comments

Comments

@PingPongSet
Copy link

Describe the issue
We have an Azure Func app hosted in Linux Premium plan, private network, using only https, but the Swagger UI cannot display APIs like below:

enter image description here

The settings below are set based on the link below, but the error above still occurs.

{
  "Values": {
    "OpenApi__ForceHttps": "true",
    "OpenApi__ForceHttp": "false",
    "OpenApi__HostNames": "/api"
  }
}

https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi.md

Settings

.NET Core 3.x

Microsoft.Azure.WebJobs.Extensions.OpenApi 1.0

Refs:

https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/openapi-core.md
Azure/Azure-Functions#1933
#352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant