correct field value

This commit is contained in:
John
2021-11-06 21:46:04 +01:00
parent 523df25eb0
commit 0d751ab1c7
+7 -1
View File
@@ -431,7 +431,7 @@ components:
type: string
description: the field name.
value:
type: object
$ref: '#/components/schemas/FieldValue'
description: the field value.
unit:
type: string
@@ -439,6 +439,12 @@ components:
comment:
type: string
description: the field comment (only with verbose).
FieldValue:
description: the field value.
oneOf:
- type: string
- type: number
nullable: true
FieldDef:
required:
- name