From ed93d873a7e2f63d65d07117ee65c35819ef31b9 Mon Sep 17 00:00:00 2001 From: Ludwig Reiter Date: Thu, 26 Nov 2020 09:17:22 +0100 Subject: [PATCH 1/2] Add number_value to motion model. --- docs/models.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/models.yml b/docs/models.yml index 527ecf813..261030ebf 100644 --- a/docs/models.yml +++ b/docs/models.yml @@ -1020,6 +1020,7 @@ topic: motion: id: number number: string + number_value: number sequential_number: type: number description: The (positive) serial number of this motion. This number is auto-generated and read-only. From 8c59d1090c27356d579ef863cf5f27b4c7a87790 Mon Sep 17 00:00:00 2001 From: Ludwig Reiter Date: Mon, 7 Dec 2020 14:31:08 +0100 Subject: [PATCH 2/2] Update models.py Add description and read_only to motion/number_value. --- docs/models.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/models.yml b/docs/models.yml index 261030ebf..77153bf03 100644 --- a/docs/models.yml +++ b/docs/models.yml @@ -1020,7 +1020,10 @@ topic: motion: id: number number: string - number_value: number + number_value: + type: number + description: The number value of this motion. This number is auto-generated and read-only. + read_only: true sequential_number: type: number description: The (positive) serial number of this motion. This number is auto-generated and read-only.