From 6ef177f350d47760f5f7ef14af52e7649ff27fed Mon Sep 17 00:00:00 2001 From: tsheils Date: Tue, 30 Apr 2024 12:33:00 -0400 Subject: [PATCH] fix common reaction query --- apps/ramp-server/plumber.R | 2 +- apps/ramp-server/ramp_openapi_with_extensions.yml | 2 +- .../ramp-api/src/assets/data/ramp_openapi_with_extensions.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ramp-server/plumber.R b/apps/ramp-server/plumber.R index 01e9714..ac76622 100644 --- a/apps/ramp-server/plumber.R +++ b/apps/ramp-server/plumber.R @@ -328,7 +328,7 @@ function(analyte) { analytes_df <- RaMP::rampFastCata( db = rampDB, analytes = analyte, - namesOrIds = "ids" + NamesOrIds = "ids" ) }, error = function(cond) { diff --git a/apps/ramp-server/ramp_openapi_with_extensions.yml b/apps/ramp-server/ramp_openapi_with_extensions.yml index 22856d1..344be40 100644 --- a/apps/ramp-server/ramp_openapi_with_extensions.yml +++ b/apps/ramp-server/ramp_openapi_with_extensions.yml @@ -395,7 +395,7 @@ paths: type: array items: type: string - namesOrIds: + NamesOrIds: type: string enum: ['name', 'ids'] required: false diff --git a/libs/features/ramp/ramp-api/src/assets/data/ramp_openapi_with_extensions.yml b/libs/features/ramp/ramp-api/src/assets/data/ramp_openapi_with_extensions.yml index 22856d1..344be40 100644 --- a/libs/features/ramp/ramp-api/src/assets/data/ramp_openapi_with_extensions.yml +++ b/libs/features/ramp/ramp-api/src/assets/data/ramp_openapi_with_extensions.yml @@ -395,7 +395,7 @@ paths: type: array items: type: string - namesOrIds: + NamesOrIds: type: string enum: ['name', 'ids'] required: false