mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
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:
parent
9c56b9b057
commit
1c55003a20
1 changed files with 16 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue