Swashbuckle aspnet core 2.0 Swaggerconfig.cs 未创建
Swashbuckle aspnet core 2.0 Swaggerconfig.cs not created
我正在尝试将 Swashbuckle
安装到我在 aspnet core 2.0
中的网站 api。通读 google 关于如何设置它的文章是关于 App_Start-folder 下的 SwaggerConfig.cs
。
But when I install it never gets created?? Where is it?
我能做的就是在Start.cs
中设置基础,而且只是一些基础? SwaggerConfig.cs
在哪里?
swashbuckle 有两个版本:
- https://github.com/domaindrivendev/Swashbuckle
- https://github.com/domaindrivendev/Swashbuckle.AspNetCore
AspNetCore版本没有SwaggerConfig文件。
您的配置在 Startup.cs 上进行:
Swashbuckle.AspNetCore/blob/master/README.md#getting-started
我正在尝试将 Swashbuckle
安装到我在 aspnet core 2.0
中的网站 api。通读 google 关于如何设置它的文章是关于 App_Start-folder 下的 SwaggerConfig.cs
。
But when I install it never gets created?? Where is it?
我能做的就是在Start.cs
中设置基础,而且只是一些基础? SwaggerConfig.cs
在哪里?
swashbuckle 有两个版本:
- https://github.com/domaindrivendev/Swashbuckle
- https://github.com/domaindrivendev/Swashbuckle.AspNetCore
AspNetCore版本没有SwaggerConfig文件。
您的配置在 Startup.cs 上进行: Swashbuckle.AspNetCore/blob/master/README.md#getting-started