From 2daad53e23d257ef30dd6a3ce53bb88e8d1afaa8 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Tue, 9 Apr 2024 14:46:16 -0500 Subject: [PATCH 1/2] add draft parameter --- neurosynth-compose-openapi.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index a59375a..99e0858 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -1531,12 +1531,11 @@ components: meta_analyses: oneOf: - minItems: 1 - type: array items: $ref: '#/components/schemas/meta-analysis' - items: type: string - type: array + type: array name: type: string nullable: true @@ -1550,12 +1549,15 @@ components: description: whether the project is public or private neurostore_study: $ref: '#/components/schemas/neurostore-study' - nullable: true neurostore_url: type: string x-stoplight: id: mfk6853ojk4kk nullable: true + draft: + type: boolean + x-stoplight: + id: fxy7tfy8gx1e1 project-return: allOf: - $ref: '#/components/schemas/read-only' From e7f24d28d14430a5b2f559f3a0c93b912a2252d2 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Tue, 9 Apr 2024 15:53:21 -0500 Subject: [PATCH 2/2] make variable read only --- neurosynth-compose-openapi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index 99e0858..e883d64 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -1533,9 +1533,10 @@ components: - minItems: 1 items: $ref: '#/components/schemas/meta-analysis' + type: array - items: type: string - type: array + type: array name: type: string nullable: true @@ -1558,6 +1559,7 @@ components: type: boolean x-stoplight: id: fxy7tfy8gx1e1 + readOnly: true project-return: allOf: - $ref: '#/components/schemas/read-only'