@PATCH — Aquilia Documentation
Comprehensive guide and documentation for @PATCH in the Aquilia framework. View API reference, examples, and implementation patterns.
Back to Decorators @PATCH The @PATCH decorator handles HTTP PATCH requests, used for partial modifications of a resource. Clients only need to send the fields they wish to change. Basic Usage Partial Updates with Contracts In Aquilia, partial updates are modeled using optional fields in a Contract or by utilizing projected references to validate a subset of fields. Schema Tip For partial PATCH operations, define the fields in your update contract as optional (e.g. using Field(required=False) or having a default value). Previous: @PUT Next: @DELETE )
Go to Homepage