feat(APIKeyAuthHeaderOpFilter): Implementierung der SwaggerGen.IOperationFilter-Schnittstelle, um das API-Schlüsselfeld hinzuzufügen.

- Eigenschaft swagger-description hinzugefügt
This commit is contained in:
Developer 02
2024-10-29 10:00:06 +01:00
parent 67a62d7311
commit 6ea053be36
4 changed files with 45 additions and 4 deletions

View File

@@ -5,5 +5,7 @@
public required string Key { get; init; }
public string HeaderName { get; init; } = "X-API-Key";
public string? SwaggerDescription { get; init; } = null;
}
}