Skip to content

Commit

Permalink
As per issue raised in APIDevTools/json-schema-ref-parser#349 this sc…
Browse files Browse the repository at this point in the history
…ope of this PR will ignore the extra component block
  • Loading branch information
francocm committed May 13, 2024
1 parent d4296c5 commit 104affb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/integration/bundle/final-asyncapiv3-with-xorigin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
5 changes: 5 additions & 0 deletions test/integration/bundle/final-asyncapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ operations:
$ref: '#/channels/test'
messages:
- $ref: '#/channels/test/messages/testMessage'
components:
messages:
TestMessage:
payload:
type: string

0 comments on commit 104affb

Please sign in to comment.