diff --git a/src/lib/openapi/spec/patch-schema.ts b/src/lib/openapi/spec/patch-schema.ts index c8ba1e99e3..062b415934 100644 --- a/src/lib/openapi/spec/patch-schema.ts +++ b/src/lib/openapi/spec/patch-schema.ts @@ -15,7 +15,14 @@ export const patchSchema = { from: { type: 'string', }, - value: {}, + value: { + oneOf: [ + { + type: 'object', + }, + { type: 'array', items: { type: 'object' } }, + ], + }, }, components: {}, } as const;