feat: add HttpPut and HttpDelete attributes for comprehensive HTTP method support

Co-authored-by: andrew-welker <1765622+andrew-welker@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-25 13:09:46 +00:00
parent 9c56b9b057
commit 1c55003a20

View File

@@ -33,6 +33,22 @@ namespace PepperDash.Essentials.Core.Web.Attributes
public HttpPostAttribute() : base("POST") { }
}
/// <summary>
/// Indicates that a request handler supports HTTP PUT operations
/// </summary>
public class HttpPutAttribute : HttpMethodAttribute
{
public HttpPutAttribute() : base("PUT") { }
}
/// <summary>
/// Indicates that a request handler supports HTTP DELETE operations
/// </summary>
public class HttpDeleteAttribute : HttpMethodAttribute
{
public HttpDeleteAttribute() : base("DELETE") { }
}
/// <summary>
/// Provides OpenAPI operation metadata for a request handler
/// </summary>