Azure / Azure/azure-functions-openapi-extension
Is it possible to disable swagger JSON validation in Swagger - UI?
- Dominant language
- C#
- Stars
- 388
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
I am using a HTTP trigger Function app with Azure AD auth. I don't want to validate the Swagger json with "https://validator.swagger.io/validator/debug?url=xxx" as the validator.swagger.io won't have access to this url xxx.
Is there a way I can disable the validation process in the swagger-ui?

Contributor guide
Research direction
Start by tracing the Swagger UI configuration used by the Azure Functions OpenAPI extension and the request to validator.swagger.io/validator/debug. Determine whether validation can be disabled for an authenticated HTTP-triggered Function app, then verify that the UI loads the protected Swagger JSON without external validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100