jlo-gmail
jlo-gmail

Reputation: 5048

How to suppress code parameter in Swashbuckle

I have an Azure function app where Swashbuckle is configured and working with minimal configuration.

Swashbuckle is generating the web pages with parameters as desired, but the parameter code is added to every definition page.

How can I suppress the code parameter?

Upvotes: 0

Views: 103

Answers (1)

Mark Caplin
Mark Caplin

Reputation: 1

Configure Swashbuckle

There is an option for this: opts.AddCodeParameter = false;

Upvotes: 0

Related Questions