From 5a7be4325db42ac1ab0caff31e6ff4d5f2aeb64d Mon Sep 17 00:00:00 2001 From: Guy Davenport Date: Sun, 7 Jun 2026 12:01:09 +1200 Subject: [PATCH 1/3] changed firstRepRand from boolean to string, will get examples later --- Specification/BrAPI-Schema/BrAPI-Core/Study.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Specification/BrAPI-Schema/BrAPI-Core/Study.json b/Specification/BrAPI-Schema/BrAPI-Core/Study.json index e85a1f20..cbaf33fb 100644 --- a/Specification/BrAPI-Schema/BrAPI-Core/Study.json +++ b/Specification/BrAPI-Schema/BrAPI-Core/Study.json @@ -480,12 +480,12 @@ "examples": [1] }, "firstRepRand": { - "description": "Is the first replication random.", + "description": "A description of how the first replication is treated in the Experimental Design.", "type": [ "null", - "boolean" + "string" ], - "examples": [true] + "example": "TODO" }, "experimentFactors": { "description": "The factors used in the experimental design.", From 844e3389cc625ce91b41860d939b4d754739cc78 Mon Sep 17 00:00:00 2001 From: Guy Davenport Date: Mon, 8 Jun 2026 12:04:16 +1200 Subject: [PATCH 2/3] Added some examples --- Specification/BrAPI-Schema/BrAPI-Core/Study.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Specification/BrAPI-Schema/BrAPI-Core/Study.json b/Specification/BrAPI-Schema/BrAPI-Core/Study.json index cbaf33fb..4aa970ce 100644 --- a/Specification/BrAPI-Schema/BrAPI-Core/Study.json +++ b/Specification/BrAPI-Schema/BrAPI-Core/Study.json @@ -485,7 +485,10 @@ "null", "string" ], - "example": "TODO" + "examples": [ + "First Rep in each Set Sequential", + "Process like all other reps" + ] }, "experimentFactors": { "description": "The factors used in the experimental design.", From c0ce4874bc286777cbe5c03ca531d02b553a5cd7 Mon Sep 17 00:00:00 2001 From: Guy Davenport Date: Mon, 8 Jun 2026 12:12:09 +1200 Subject: [PATCH 3/3] fixed Supplemental files (mirrors changes in the #670) to get build working --- ...Core.yaml => openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml} | 0 generator/openapi-options.yaml | 2 +- generator/openapi-single-file-options.yaml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename generator/{openapi-Supplemental-Spec-V2.1-BrAPI-Core.yaml => openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml} (100%) diff --git a/generator/openapi-Supplemental-Spec-V2.1-BrAPI-Core.yaml b/generator/openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml similarity index 100% rename from generator/openapi-Supplemental-Spec-V2.1-BrAPI-Core.yaml rename to generator/openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml diff --git a/generator/openapi-options.yaml b/generator/openapi-options.yaml index 4debc8da..cd17ca89 100644 --- a/generator/openapi-options.yaml +++ b/generator/openapi-options.yaml @@ -2,7 +2,7 @@ generate: true descriptionFormat: TODO Description for %s supplementalSpecification: '' supplementalSpecificationFor: - BrAPI-Core: 'C:\Users\ps664\Documents\BrAPI\API\generator\openapi-Supplemental-Spec-V2.1-BrAPI-Core.yaml' + BrAPI-Core: generator/openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml separateByModule: true generateNewRequest: true generateNewRequestFor: diff --git a/generator/openapi-single-file-options.yaml b/generator/openapi-single-file-options.yaml index 04e17b3a..5f2d3529 100644 --- a/generator/openapi-single-file-options.yaml +++ b/generator/openapi-single-file-options.yaml @@ -1,3 +1,3 @@ separateByModule: false supplementalSpecificationFor: - BrAPI-Core: generator/openapi-Supplemental-Spec-V2.1-BrAPI-Core.yaml \ No newline at end of file + BrAPI-Core: generator/openapi-Supplemental-Spec-V2.2-BrAPI-Core.yaml \ No newline at end of file