From 61108b6f40c67aaed27eaa8cbee6fed90e5095e7 Mon Sep 17 00:00:00 2001 From: verena <9377970+vpchung@users.noreply.github.com> Date: Wed, 25 Oct 2023 23:08:55 +0000 Subject: [PATCH] update openapi specs --- .../api-description/build/challenge.openapi.yaml | 7 ++++--- libs/openchallenges/api-description/build/openapi.yaml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libs/openchallenges/api-description/build/challenge.openapi.yaml b/libs/openchallenges/api-description/build/challenge.openapi.yaml index 23383c01e6..90dc0c63e5 100644 --- a/libs/openchallenges/api-description/build/challenge.openapi.yaml +++ b/libs/openchallenges/api-description/build/challenge.openapi.yaml @@ -425,19 +425,20 @@ components: description: The prefix Internationalized Resource Identifier (IRI) of the EDAM ontology term. type: string minLength: 3 - maxLength: 80 + maxLength: 16 example: data_1916 EdamName: description: The preferred name/label of the EDAM ontology term. type: string minLength: 3 - maxLength: 255 + maxLength: 80 example: Alignment EdamSubclassOf: description: The parent EDAM ID(s) of the EDAM ontology term. type: string minLength: 3 - maxLength: 255 + maxLength: 60 + nullable: true example: data_0006 SimpleChallengeInputDataType: type: object diff --git a/libs/openchallenges/api-description/build/openapi.yaml b/libs/openchallenges/api-description/build/openapi.yaml index bbcca0c434..466bc3d0b4 100644 --- a/libs/openchallenges/api-description/build/openapi.yaml +++ b/libs/openchallenges/api-description/build/openapi.yaml @@ -579,19 +579,20 @@ components: ontology term. type: string minLength: 3 - maxLength: 80 + maxLength: 16 example: data_1916 EdamName: description: The preferred name/label of the EDAM ontology term. type: string minLength: 3 - maxLength: 255 + maxLength: 80 example: Alignment EdamSubclassOf: description: The parent EDAM ID(s) of the EDAM ontology term. type: string minLength: 3 - maxLength: 255 + maxLength: 60 + nullable: true example: data_0006 SimpleChallengeInputDataType: type: object