diff --git a/test/integration/bundle/final-asyncapiv3-with-xorigin.yaml b/test/integration/bundle/final-asyncapiv3-with-xorigin.yaml index 9afca33e260..0ab16bbc637 100644 --- a/test/integration/bundle/final-asyncapiv3-with-xorigin.yaml +++ b/test/integration/bundle/final-asyncapiv3-with-xorigin.yaml @@ -21,7 +21,7 @@ channels: type: string format: email description: Email of the user - x-origin: ./test/integration/bundle/messages.yaml#/messages/UserSignedUp + x-origin: ./test/integration/bundle/messages.yaml#/messages/UserSignedUp test: address: /test messages: @@ -42,3 +42,9 @@ operations: $ref: '#/channels/test' messages: - $ref: '#/channels/test/messages/testMessage' +components: + messages: + TestMessage: + payload: + type: string + x-origin: '#/components/messages/TestMessage' diff --git a/test/integration/bundle/final-asyncapiv3.yaml b/test/integration/bundle/final-asyncapiv3.yaml index 5d0af90e951..a1751b6f4de 100644 --- a/test/integration/bundle/final-asyncapiv3.yaml +++ b/test/integration/bundle/final-asyncapiv3.yaml @@ -39,3 +39,8 @@ operations: $ref: '#/channels/test' messages: - $ref: '#/channels/test/messages/testMessage' +components: + messages: + TestMessage: + payload: + type: string