-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disclose limitation about parameter schema reference (#192)
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
- Loading branch information
1 parent
7e91d4c
commit 6e66aa3
Showing
7 changed files
with
144 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
asyncapi: 2.6.0 | ||
|
||
info: | ||
title: AsyncAPI Sample App | ||
version: 1.0.1 | ||
|
||
channels: | ||
'lightingMeasured/{parameter}/{parameter2}': | ||
parameters: | ||
parameter: | ||
schema: | ||
$ref: '#/components/schemas/sentAt' | ||
parameter2: | ||
schema: | ||
pattern: test | ||
publish: | ||
operationId: lightMeasured | ||
message: | ||
payload: | ||
type: object | ||
properties: | ||
someProperty: | ||
type: string | ||
|
||
components: | ||
schemas: | ||
sentAt: | ||
type: string | ||
format: date-time | ||
description: Date and time when the message was sent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
asyncapi: 3.0.0 | ||
info: | ||
title: AsyncAPI Sample App | ||
version: 1.0.1 | ||
channels: | ||
'lightingMeasured/{parameter}/{parameter2}': | ||
address: 'lightingMeasured/{parameter}/{parameter2}' | ||
messages: | ||
lightMeasured.message: | ||
payload: | ||
type: object | ||
properties: | ||
someProperty: | ||
type: string | ||
parameters: | ||
parameter: {} | ||
parameter2: {} | ||
operations: | ||
lightMeasured: | ||
action: receive | ||
channel: | ||
$ref: '#/channels/lightingMeasured~1{parameter}~1{parameter2}' | ||
messages: | ||
- $ref: >- | ||
#/channels/lightingMeasured~1{parameter}~1{parameter2}/messages/lightMeasured.message | ||
components: | ||
schemas: | ||
sentAt: | ||
type: string | ||
format: date-time | ||
description: Date and time when the message was sent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters