From 667e3b95fceb9a9002633924b740e61c5c1c5ab8 Mon Sep 17 00:00:00 2001 From: verena <9377970+vpchung@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:58:04 +0000 Subject: [PATCH] update openapi specs --- .../api-description/build/challenge.openapi.yaml | 3 ++- libs/openchallenges/api-description/build/openapi.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/openchallenges/api-description/build/challenge.openapi.yaml b/libs/openchallenges/api-description/build/challenge.openapi.yaml index ac40ff32a3..6e56788f6e 100644 --- a/libs/openchallenges/api-description/build/challenge.openapi.yaml +++ b/libs/openchallenges/api-description/build/challenge.openapi.yaml @@ -395,8 +395,9 @@ components: ChallengeOperation: description: The EDAM operation class of the challenge. type: string - maxLength: 80 + maxLength: 16 pattern: ^$|^operation_\d+$ + nullable: true example: operation_0004 ChallengePlatformId: description: The unique identifier of a challenge platform. diff --git a/libs/openchallenges/api-description/build/openapi.yaml b/libs/openchallenges/api-description/build/openapi.yaml index acfef2fedd..4bf367f548 100644 --- a/libs/openchallenges/api-description/build/openapi.yaml +++ b/libs/openchallenges/api-description/build/openapi.yaml @@ -547,8 +547,9 @@ components: ChallengeOperation: description: The EDAM operation class of the challenge. type: string - maxLength: 80 + maxLength: 16 pattern: ^$|^operation_\d+$ + nullable: true example: operation_0004 ChallengePlatformId: description: The unique identifier of a challenge platform.