Skip to content

Commit

Permalink
Rerurn checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSaini101 committed Nov 22, 2024
1 parent 772eeea commit 7587fde
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions test/fixtures/asyncapiValid_v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
asyncapi: "2.1.0"
info:
title: Streetlights API
version: "1.0.0"
description: |
The Smartylighting Streetlights API allows you
to remotely manage the city lights.
license:
name: Apache 2.0
url: "https://www.apache.org/licenses/LICENSE-2.0"
servers:
mosquitto:
url: mqtt://test.mosquitto.org
protocol: mqtt
channels:
light/measured:
publish:
summary: Inform about environmental lighting conditions for a particular streetlight.
operationId: onLightMeasured
message:
name: LightMeasured
payload:
type: object
properties:
id:
type: integer
minimum: 0
description: Id of the streetlight.
lumens:
type: integer
minimum: 0
description: Light intensity measured in lumens.
sentAt:
type: string
format: date-time
description: Date and time when the message was sent.

0 comments on commit 7587fde

Please sign in to comment.