From 2ac6094ccda6bfd6d7b2bc5644d42f92c26801cc Mon Sep 17 00:00:00 2001 From: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Thu, 16 Apr 2026 14:39:14 -0400 Subject: [PATCH 1/2] add new force option for schema apply --- openapi/paths/schema/apply/schemaApply.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi/paths/schema/apply/schemaApply.yaml b/openapi/paths/schema/apply/schemaApply.yaml index c12b0f6..749618a 100644 --- a/openapi/paths/schema/apply/schemaApply.yaml +++ b/openapi/paths/schema/apply/schemaApply.yaml @@ -3,6 +3,13 @@ description: Update the instance's schema by passing the diff previously retriev via `/schema/diff` endpoint in the JSON request body or a JSON/YAML file. This endpoint is only available to admin users. operationId: schemaApply +parameters: +- name: force + description: Bypass hash restrictions. + in: query + required: false + schema: + type: boolean requestBody: required: true content: From aac13b9ddac88530ffd0ebc937c3cfa7735d2874 Mon Sep 17 00:00:00 2001 From: judda <44623501+ComfortablyCoding@users.noreply.github.com> Date: Sun, 26 Apr 2026 16:42:12 -0400 Subject: [PATCH 2/2] Update openapi/paths/schema/apply/schemaApply.yaml Co-authored-by: kheiner --- openapi/paths/schema/apply/schemaApply.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/paths/schema/apply/schemaApply.yaml b/openapi/paths/schema/apply/schemaApply.yaml index 749618a..dbe2d5b 100644 --- a/openapi/paths/schema/apply/schemaApply.yaml +++ b/openapi/paths/schema/apply/schemaApply.yaml @@ -5,7 +5,7 @@ description: Update the instance's schema by passing the diff previously retriev operationId: schemaApply parameters: - name: force - description: Bypass hash restrictions. + description: When `true`, bypasses the hash check and applies the diff regardless of whether or not the current schema matches the snapshot it was generated from. in: query required: false schema: