简体   繁体   中英

Generate Swagger OpenApi Spec 3.0 using Swashbuckle in Asp.Net Framework WebApi

Swashbuckle version="5.6.0" targetFramework="net451" generates "swagger": "2.0" spec.Is there any way to generate 3.0 spec?

In Asp.Net Core we can generate 3.0, what about in Asp.Net Framework WebApi?

Unlike Swashbukle.AspNetCore, Swashbuckle does not support OpenAPI 3.0 .

Recommend the Nswag.

Key settings.

在此处输入图像描述

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