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

hook-reorder-ts: Add OpenAPI specification

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
Philipp Jungkamp 2023-08-29 13:32:57 +02:00 committed by Steffen Vogel
parent 636dee213c
commit f03579df2f
3 changed files with 18 additions and 0 deletions

View file

@ -30,6 +30,7 @@ discriminator:
pmu_dft: hooks/_pmu_dft.yaml
pps_ts: hooks/_pps_ts.yaml
print: hooks/_print.yaml
reorder_ts: hooks/_reorder_ts.yaml
restart: hooks/_restart.yaml
rms: hooks/_rms.yaml
round: hooks/_round.yaml

View file

@ -0,0 +1,3 @@
allOf:
- $ref: ../hook_obj.yaml
- $ref: reorder_ts.yaml

View file

@ -0,0 +1,14 @@
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
---
allOf:
- type: object
properties:
window_size:
description: |
The size of the window in which samples will be reordered.
This also represents the latency in number of samples introduced by this hook.
type: integer
default: 16
- $ref: ../hook.yaml