diff --git a/schemas/v1.0/genericrandomerrorplugin.schema.json b/schemas/v1.0/genericrandomerrorplugin.schema.json index 7a199bfb..1a0a0c62 100644 --- a/schemas/v1.0/genericrandomerrorplugin.schema.json +++ b/schemas/v1.0/genericrandomerrorplugin.schema.json @@ -39,11 +39,7 @@ ] } } - }, - "required": [ - "statusCode", - "body" - ] + } } } }, diff --git a/schemas/v1.0/mockresponseplugin.schema.json b/schemas/v1.0/mockresponseplugin.schema.json index 49212055..5eff6d1f 100644 --- a/schemas/v1.0/mockresponseplugin.schema.json +++ b/schemas/v1.0/mockresponseplugin.schema.json @@ -5,7 +5,7 @@ "type": "object", "properties": { "$schema": { - "type":"string" + "type": "string" }, "mocks": { "type": "array", @@ -41,31 +41,34 @@ ] }, "response": { - "body": { - "type": [ - "object", - "string" - ] - }, - "code": { - "type": "integer" - }, - "headers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "name", - "value" + "type": "object", + "properties": { + "body": { + "type": [ + "object", + "string" ] + }, + "statusCode": { + "type": "integer" + }, + "headers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "name", + "value" + ] + } } } }