-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve external references in base file (#102)
- Loading branch information
Showing
7 changed files
with
91 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
asyncapi: 2.5.0 | ||
info: | ||
title: Smart home applicance service | ||
version: 2.0.0 | ||
description: This is a API for contolling various smart appliance | ||
channels: | ||
lights/On: | ||
subcribe: | ||
message: | ||
$ref: '#/components/messages/LightsOn' | ||
camera/click: | ||
subcribe: | ||
message: | ||
$ref: '#/components/messages/clickPhoto' | ||
components: | ||
messages: | ||
LightsOn: | ||
payload: | ||
type: object | ||
properties: | ||
sourceId: | ||
type: string | ||
voltage: | ||
type: number | ||
clickPhoto: | ||
type: object | ||
properties: | ||
bustMode: | ||
type: boolean | ||
zoomDepth: | ||
type: number | ||
delayTimer: | ||
type: number |
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,5 @@ | ||
asyncapi: "2.5.0" | ||
info: | ||
title: Smart home applicance service | ||
version: 2.0.0 | ||
description: This is a API for contolling various smart appliance |
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,10 @@ | ||
asyncapi: "2.5.0" | ||
info: | ||
title: Camera Service | ||
version: 2.0.0 | ||
description: This service is in charge of for controlling Camera functions | ||
channels: | ||
camera/click: | ||
subcribe: | ||
message: | ||
$ref: './tests/base-option/messages.yaml#/messages/clickPhoto' |
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,10 @@ | ||
asyncapi: "2.5.0" | ||
info: | ||
title: Lights Service | ||
version: 1.0.0 | ||
description: This service is in charge of for controlling lights | ||
channels: | ||
lights/On: | ||
subcribe: | ||
message: | ||
$ref: './tests/base-option/messages.yaml#/messages/LightsOn' |
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,18 @@ | ||
messages: | ||
LightsOn: | ||
payload: | ||
type: object | ||
properties: | ||
sourceId: | ||
type: string | ||
voltage: | ||
type: number | ||
clickPhoto: | ||
type: object | ||
properties: | ||
bustMode: | ||
type: boolean | ||
zoomDepth: | ||
type: number | ||
delayTimer: | ||
type: number |
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