Skip to content

Commit 581dacd

Browse files
guydavenportGuy Davenport
andauthored
646 update gihub action to generate openapi per module in yaml format (#648)
* updated generate to create separate files * fixed ObservationTreatment name * update workflow name * Apply automatic changes --------- Co-authored-by: Guy Davenport <guy.davenport@partners.basf.com> Co-authored-by: guydavenport <6523224+guydavenport@users.noreply.github.com>
1 parent 59d4bb8 commit 581dacd

17 files changed

+45228
-19422
lines changed

.github/workflows/generate-schema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Java CI with Gradle
1+
name: Build specifications, schemas and comparisions
22

33
on:
44
push:

Specification/BrAPI-Schema/BrAPI-Phenotyping/ObservationUnit.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"relationshipType": "one-to-many",
9494
"referencedAttribute": "observationUnit",
9595
"items": {
96-
"$ref": "../BrAPI-Phenotyping/ObservationUnit.json#/$defs/Treatment",
96+
"$ref": "../BrAPI-Phenotyping/ObservationUnit.json#/$defs/ObservationTreatment",
9797
"description": "Treatments"
9898
},
9999
"title": "Treatments",
@@ -282,7 +282,7 @@
282282
"primaryModel": false
283283
}
284284
},
285-
"Treatment": {
285+
"ObservationTreatment": {
286286
"properties": {
287287
"factor": {
288288
"description": "The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc\n\nMIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.",
@@ -305,7 +305,7 @@
305305
"referencedAttribute": "treatments"
306306
}
307307
},
308-
"title": "Treatment",
308+
"title": "ObservationTreatment",
309309
"type": "object",
310310
"brapi-metadata": {
311311
"primaryModel": false

0 commit comments

Comments
 (0)