Azure / azure-functions-openapi-extension

This extension provides an Azure Functions app with Open API capability for better discoverability to consuming parties
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenApi/
MIT License
367 stars 191 forks source link

Is it possible to disable swagger JSON validation in Swagger - UI? #450

Open dhanvanthsingaravelu opened 2 years ago

dhanvanthsingaravelu commented 2 years ago

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?

image

JoeMBraun commented 2 years ago

I would just like to change the url by removing the word "debug" if possible from https://validator.swagger.io/validator/debug? to https://validator.swagger.io/validator/?

Valkozaur commented 6 months ago

Hello @dhanvanthsingaravelu. Did you figure out a way to disable the validator?