We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e959000 commit b0d4f10Copy full SHA for b0d4f10
src/CrackSharp.Api/Des/Endpoints/DesApi.cs
@@ -14,11 +14,13 @@ public static IEndpointRouteBuilder MapDesApi(this IEndpointRouteBuilder app)
14
15
group.MapGet("/decrypt/{*hash}", Decrypt)
16
.AddEndpointFilter(DesValidationFilters.ValidateDecryptInput)
17
- .WithName("DecryptDesHash");
+ .WithName("DecryptDesHash")
18
+ .WithOpenApi();
19
20
group.MapGet("/encrypt/{*text}", Encrypt)
21
.AddEndpointFilter(DesValidationFilters.ValidateEncryptInput)
- .WithName("GetDesHash");
22
+ .WithName("GetDesHash")
23
24
25
return app;
26
}
0 commit comments