diff --git a/exchanges.yml b/exchanges.yml index 72230d1..f4c1478 100644 --- a/exchanges.yml +++ b/exchanges.yml @@ -131,8 +131,14 @@ paths: application/json: schema: oneOf: - - $ref: "./components/VerifiablePresentation.yml#/components/schemas/VerifiablePresentation" - - $ref: "./components/Credential.yml#/components/schemas/Credential" + - type: object + properties: + verifiablePresentation: + $ref: "./components/VerifiablePresentation.yml#/components/schemas/VerifiablePresentation" + - type: object + properties: + credential: + $ref: "./components/Credential.yml#/components/schemas/Credential" description: Either a credential to be issued or a Verifiable Presentation. responses: "200":