Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoPatch ¶
func AutoPatch(api huma.API)
AutoPatch generates HTTP PATCH operations for any resource which has a GET & PUT but no pre-existing PATCH operation. Generated PATCH operations will call GET, apply either `application/merge-patch+json` or `application/json-patch+json` patches, then call PUT with the updated resource. This method may be safely called multiple times.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.