EM.UsingSwagger
1.0.8
dotnet add package EM.UsingSwagger --version 1.0.8
NuGet\Install-Package EM.UsingSwagger -Version 1.0.8
<PackageReference Include="EM.UsingSwagger" Version="1.0.8" />
paket add EM.UsingSwagger --version 1.0.8
#r "nuget: EM.UsingSwagger, 1.0.8"
// Install EM.UsingSwagger as a Cake Addin #addin nuget:?package=EM.UsingSwagger&version=1.0.8 // Install EM.UsingSwagger as a Cake Tool #tool nuget:?package=EM.UsingSwagger&version=1.0.8
Существует два типа аутентификации: Basic Authentication и JWT Bearer Authentication;
Существует атрибут SwaggerUnauthorize (SwaggerUnauthorize используется на методе или контроллере, его задача обеспечивает не требование API аутентификации, в методе или методов в контроллере);
Используйте атрибут SwaggerTag для описания и путь к документации контроллера. Атрибут указан над именами контроллеров;
Существует SwaggerIgnore игнорирует свойства из swagger для запроса
Существует SwaggerAuthorize. Действует при использования методов AddSwaggerAllSecurityDefinitions и UseSwaggerAuthorizeUI;
Существует SwaggerDefaultValue, установить значения на свойству для swagger-запроса;
-------------------------------------------------------------------------------
There are two types of authentication: Basic Authentication and JWT Bearer Authentication;
There is a SwaggerUnauthorize attribute (SwaggerUnauthorize is used on a method or controller, its task does not require an authentication API, in a method or methods in the controller);
Use the SwaggerTag attribute to describe and the path to the controller documentation. The attribute is indicated above the controller names;
There is a SwaggerIgnore ignores the properties from swagger to request;
There is a SwaggerAuthorize. Effective when using AddSwaggerAllSecurityDefinitions and UseSwaggerAuthorizeUI methods;
There is SwaggerDefaultValue set value to property for swagger request;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 3.1.4)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Swashbuckle.AspNetCore (>= 5.4.1)
- Swashbuckle.AspNetCore.Annotations (>= 5.4.1)
- Swashbuckle.AspNetCore.Filters (>= 6.0.0)
- Swashbuckle.AspNetCore.Swagger (>= 5.6.3)
- Swashbuckle.AspNetCore.SwaggerGen (>= 5.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.