SensitiveString.NSwag.AspNetCore
0.1.5
dotnet add package SensitiveString.NSwag.AspNetCore --version 0.1.5
NuGet\Install-Package SensitiveString.NSwag.AspNetCore -Version 0.1.5
<PackageReference Include="SensitiveString.NSwag.AspNetCore" Version="0.1.5" />
paket add SensitiveString.NSwag.AspNetCore --version 0.1.5
#r "nuget: SensitiveString.NSwag.AspNetCore, 0.1.5"
// Install SensitiveString.NSwag.AspNetCore as a Cake Addin #addin nuget:?package=SensitiveString.NSwag.AspNetCore&version=0.1.5 // Install SensitiveString.NSwag.AspNetCore as a Cake Tool #tool nuget:?package=SensitiveString.NSwag.AspNetCore&version=0.1.5
SensitiveString.NSwag.AspNetCore
This package extends SensitiveString, ensuring that sensitive string types are correctly represented in Swagger/OpenAPI documentation.
Example
If your API includes sensitive string types in requests or responses, this configuration ensures they are represented as standard strings in the generated OpenAPI documentation.
// Program.cs
using TextPrivacy.SensitiveString.NSwag.AspNetCore;
builder.Services.AddOpenApiDocument(o =>
{
// ...
o.AddSensitiveStringSupport();
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- NSwag.Generation.AspNetCore (>= 14.2.0)
- SensitiveString (>= 0.1.5)
-
net9.0
- NSwag.Generation.AspNetCore (>= 14.2.0)
- SensitiveString (>= 0.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.5 | 202 | 2/2/2025 |
This is an initial package release. All comments and suggestions are warmly welcomed and encouraged to be reported as issues on GitHub. Your input is highly valued to help refine and improve this offering.
See also https://github.com/mariusz-schimke/SensitiveString.NSwag.AspNetCore/releases