mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-25 00:51:28 +02:00
Declares what the handlers already do: the settings reads and writes return an ETag, and PUT and DELETE honour an If-Match against it. The 412 that PUT can now return is documented alongside, and DELETE's existing 412 grows a note that a precondition failure shares the status with its two state guards and is told apart by the message rather than the code. Response headers generate nothing under a models-only codegen config, so those entries are for human and third-party consumers. The If-Match parameters do generate — hence the two Params structs in types.gen.go, which nothing calls yet but which the REST client can take up.