From 85aced286568ac33d7081cb0860f39271776da32 Mon Sep 17 00:00:00 2001 From: Michael Folz Date: Thu, 26 Oct 2023 16:09:14 +0200 Subject: [PATCH] #217 - Swaggerfile error - correctly specify the list of context termcode hashes as requestBody instead of trying to submit it as a parameter in "body" (which is not supported) --- .../resources/static/v3/api-docs/swagger.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/resources/static/v3/api-docs/swagger.yaml b/src/main/resources/static/v3/api-docs/swagger.yaml index 96f91c77..337473ab 100644 --- a/src/main/resources/static/v3/api-docs/swagger.yaml +++ b/src/main/resources/static/v3/api-docs/swagger.yaml @@ -611,15 +611,16 @@ paths: schema: type: "string" example: http://fhir.de/CriteriaSet/bfarm/icd-10-gm - - name: contextTermCodeHashList - in: body - description: "A list of ContextTermCodeHashes" - required: true - schema: - type: array - items: - type: string - example: ["b8318334-7039-33aa-8ed0-85898fffa40b", "a57f98cf-e71d-3695-ae88-59d2c651bf0f", "430654d1-a7df-3c42-a33a-7210ef372bfd"] + requestBody: + description: A list of ContextTermCodeHashes + required: true + content: + application/json: + schema: + type: array + items: + type: string + example: ["b8318334-7039-33aa-8ed0-85898fffa40b", "a57f98cf-e71d-3695-ae88-59d2c651bf0f", "430654d1-a7df-3c42-a33a-7210ef372bfd"] responses: 200: description: Ok, return the filtered list of contextualized termcodes that are in the criteria set provided via query param