From e5f2e48d2952d6e864c4ce9a5fdfc260da7984a5 Mon Sep 17 00:00:00 2001 From: "james.kent@austin.utexas.edu" Date: Wed, 27 Sep 2023 11:04:10 -0500 Subject: [PATCH] make array accept both strings and booleans --- neurosynth-compose-openapi.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/neurosynth-compose-openapi.yml b/neurosynth-compose-openapi.yml index 574c3a7..e36db74 100644 --- a/neurosynth-compose-openapi.yml +++ b/neurosynth-compose-openapi.yml @@ -933,17 +933,22 @@ components: description: a string representing a binary nifti file to select which voxels a user wants to include in the analysis. nullable: true conditions: - type: array description: 'selection of categories in the filter column to differentiate groups, or "neurosynth", "neuroquery", or "neurostore" to compare to a database reference group' x-stoplight: id: y2wlpp9g6m1ih - nullable: true - items: - x-stoplight: - id: wiogm5nzrju66 - type: - - string - - boolean + oneOf: + - nullable: true + items: + x-stoplight: + id: wiogm5nzrju66 + type: string + - x-stoplight: + id: cpefbentap20i + items: + x-stoplight: + id: ihjh738q2qul8 + type: boolean + type: array weights: type: array x-stoplight: @@ -963,6 +968,12 @@ components: type: string description: a column from annotations selecting which analyses to include in the meta-analysis nullable: true + database_studyset: + x-stoplight: + id: t6l13psq6wvv6 + example: neurostore + type: string + nullable: true estimator: title: estimator type: object