PUT vs JSON Merge Patch vs JSON Patch: modeling partial updates in OpenAPI without the null ambiguity
PATCH is not PUT with fewer fields; the media type defines its semantics. JSON Merge Patch treats null as delete and replaces arrays; JSON Patch sends atomic operations and pairs with optimistic concurrency. Here is when to use each and the OpenAPI for all three.