简体   繁体   中英

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?

Configure Swashbuckle

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM