Azure / Azure/azure-functions-openapi-extension
openApi is not reachable when calling from the azure
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the issue**
when I try to call the swagger endpoint no matter is RenderSwaggerUI or RenderSwaggerDocument is all return messages: "Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified." However is worked in the local environment. And been looking inside the code from function app, nowhere has been used Microsoft.VisualStudio.TestPlatform.ObjectModel
**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Azure Function'
2. Click on 'RenderSwaggerUI' under Functions
3. Click on 'Get Function URL' under Functions and copy the URL from _master (Host key)
4. See error
**Expected behavior**
Show swagger ui page.
**Environment (please complete the following information, if applicable):**
- OS: Windows
- Browser chrome
- Version latest
Contributor guide
Assessment
This issue has not been assessed yet.