-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bumped minimaltempalte's generator version
- Loading branch information
Showing
5 changed files
with
107 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
asyncapi: 2.0.0 | ||
info: | ||
title: Streetlights API | ||
version: 1.0.0 | ||
channels: | ||
smartylighting/event/{streetlightId}/lighting/measured: | ||
$ref: >- | ||
#/components/channels/smartylighting/event/{streetlightId}/lighting/measured | ||
parameters: | ||
streetlightId: | ||
schema: | ||
$ref: '#/components/schemas/schema' | ||
smartylighting/action/{streetlightId}/turn/on: | ||
$ref: '#/components/channels/smartylighting/action/{streetlightId}/turn/on' | ||
components: | ||
schemas: | ||
sentAt: | ||
type: string | ||
format: date-time | ||
lumens: | ||
type: integer | ||
minimum: 0 | ||
payload: | ||
type: object | ||
properties: | ||
sentAt: | ||
$ref: '#/components/schemas/sentAt' | ||
messages: | ||
message: | ||
name: turnOnOff | ||
title: Turn on/off | ||
traits: | ||
- headers: | ||
type: object | ||
properties: | ||
my-app-header: | ||
type: integer | ||
minimum: 0 | ||
maximum: 100 | ||
payload: | ||
$ref: '#/components/schemas/payload' | ||
operations: | ||
subscribe: | ||
operationId: receiveLightMeasurement | ||
traits: | ||
- bindings: | ||
kafka: | ||
clientId: my-app-id | ||
message: | ||
$ref: '#/components/messages/message' | ||
publish: | ||
operationId: turnOn | ||
traits: | ||
- bindings: | ||
kafka: | ||
clientId: my-app-id | ||
message: | ||
$ref: '#/components/messages/message' | ||
channels: | ||
smartylighting/event/{streetlightId}/lighting/measured: | ||
parameters: | ||
streetlightId: | ||
schema: | ||
$ref: '#/components/schemas/schema' | ||
subscribe: | ||
$ref: '#/components/operations/subscribe' | ||
smartylighting/action/{streetlightId}/turn/on: | ||
parameters: | ||
streetlightId: | ||
schema: | ||
$ref: '#/components/schemas/schema' | ||
publish: | ||
$ref: '#/components/operations/publish' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,38 +1,37 @@ | ||
{ | ||
"asyncapi": "2.2.0", | ||
"info": { | ||
"title": "Account Service", | ||
"version": "1.0.0", | ||
"description": | ||
"This service is in charge of processing user signups" | ||
}, | ||
"channels": { | ||
"user/signedup": { | ||
"subscribe": { | ||
"message": { | ||
"$ref": "#/components/messages/UserSignedUp" | ||
} | ||
"asyncapi": "2.2.0", | ||
"info": { | ||
"title": "Account Service", | ||
"version": "1.0.0", | ||
"description": "This service is in charge of processing user signups" | ||
}, | ||
"channels": { | ||
"user/signedup": { | ||
"subscribe": { | ||
"message": { | ||
"$ref": "#/components/messages/UserSignedUp" | ||
} | ||
} | ||
}, | ||
"components": { | ||
"messages": { | ||
"UserSignedUp": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"displayName": { | ||
"type": "string", | ||
"description": "Name of the user" | ||
}, | ||
"email": { | ||
"type": "string", | ||
"format": "email", | ||
"description": "Email of the user" | ||
} | ||
} | ||
}, | ||
"components": { | ||
"messages": { | ||
"UserSignedUp": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"displayName": { | ||
"type": "string", | ||
"description": "Name of the user" | ||
}, | ||
"email": { | ||
"type": "string", | ||
"format": "email", | ||
"description": "Email of the user" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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