1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

openapi: add documentation for new OPAL format

This commit is contained in:
Steffen Vogel 2022-02-24 07:03:02 -05:00
parent d4f74a5a51
commit 28380d4e73
5 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,12 @@ properties:
description: |
If set, include the origin timestamp in the output.
ts_received:
type: boolean
default: true
description: |
If set, include the received timestamp in the output.
sequence:
type: boolean
default: true

View file

@ -18,6 +18,7 @@ discriminator:
json.edgeflex: formats/_json_edgeflex.yaml
json.kafka: formats/_json_kafka.yaml
json.reserve: formats/_json_reserve.yaml
opal.asyncip: formats/_opal_asyncip.yaml
protobuf: formats/_protobuf.yaml
raw: formats/_raw.yaml
tsv: formats/_tsv.yaml

View file

@ -16,6 +16,7 @@ oneOf:
- json.edgeflex
- json.kafka
- json.reserve
- opal.asyncip
- protobuf
- raw
- tsv

View file

@ -0,0 +1,3 @@
allOf:
- $ref: ../format_obj.yaml
- $ref: opal_asyncip.yaml

View file

@ -0,0 +1,9 @@
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
---
allOf:
- type: object
properties:
dev_id:
type: integer
- $ref: ../format.yaml