From d021ace41b3d7d35c8eedacb5ed2fa919fcdd76d Mon Sep 17 00:00:00 2001 From: Markus Sabadello Date: Thu, 11 Apr 2024 23:13:15 +0200 Subject: [PATCH] Support null values in certain properties --- openapi/openapi.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 0b2bcf3..b543c66 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -388,11 +388,11 @@ components: items: $ref: "#/components/schemas/VerificationMethodTemplate" signingRequest: - type: object + type: [object, null] additionalProperties: $ref: "#/components/schemas/SigningRequest" decryptionRequest: - type: object + type: [object, null] additionalProperties: $ref: "#/components/schemas/DecryptionRequest" DidStateWait: @@ -443,11 +443,11 @@ components: - type: object properties: signingResponse: - type: object + type: [object, null] additionalProperties: $ref: "#/components/schemas/SigningResponse" decryptionResponse: - type: object + type: [object, null] additionalProperties: $ref: "#/components/schemas/DecryptionResponse" example: @@ -564,7 +564,7 @@ components: - type: object properties: publicKeyJwk: - type: object + type: [object, null] additionalProperties: { } publicKeyMultibase: type: string @@ -575,7 +575,7 @@ components: - type: object properties: privateKeyJwk: - type: object + type: [object, null] additionalProperties: { } privateKeyMultibase: type: string @@ -594,7 +594,7 @@ components: items: type: string publicKeyJwk: - type: object + type: [object, null] additionalProperties: { } String: type: string