Azure / Azure/azure-functions-openapi-extension

Publish new InProc AzFn, missing swagger/ui endpoint in Azure Portal Functions list

Open
#602 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
388
Forks
202
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue**
Following the [InProc sample docs instructions](https://github.com/Azure/azure-functions-openapi-extension/blob/main/docs/enable-open-api-endpoints-in-proc.md) the swagger/ui azfn endpoint does not show the in Azure Portal and is not reachable, despite OpenApi extension working locally.

The endpoint is available and does provide Swagger UI and Swagger.{extension} data, just not published to the Azure Portal Functions List

**To Reproduce**
1. Create new dotnet6 azure function project
2. Follow InProc instructions
3. Use Visual Studio to publish to a v4 Azure Function WebApp on with to an elastic AppServicePlan (Y0)
4. Use Kudu to [make sure the OpenAPI dlls are copied over](https://github.com/Azure/azure-functions-openapi-extension#known-issues)
5. Function App Configuration | General settings | Platform =32bit

**Expected behavior**
/swagger/ui function available on Azure Portal list of Functions

**Screenshots**
Works locally:
![image](https://github.com/Azure/azure-functions-openapi-extension/assets/1796771/d4d8c546-969f-474f-bd68-cc23bfd67aa3)

Not published as a Function in Azure Portal:
![image](https://github.com/Azure/azure-functions-openapi-extension/assets/1796771/d234290d-4327-43f2-bb3f-d313f7de0317)

**Environment (please complete the following information, if applicable):**
- OS: Windows 11
- Browser: edge dev
- Version 117

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.