Skip to content

Commit

Permalink
build API description
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Apr 22, 2024
1 parent 10c83a5 commit a4ac6ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
15 changes: 10 additions & 5 deletions libs/openchallenges/api-description/build/challenge.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ components:
- mlcube
- other
example: container_image
EdamConceptId:
description: The unique identifier of the EDAM concept.
type: integer
format: int64
example: 1
ChallengeCategory:
description: The category of the challenge.
type: string
Expand Down Expand Up @@ -293,6 +298,11 @@ components:
type: array
items:
$ref: '#/components/schemas/ChallengeSubmissionType'
inputDataTypes:
description: An array of EDAM concept ID used to filter the results.
type: array
items:
$ref: '#/components/schemas/EdamConceptId'
categories:
description: The array of challenge categories used to filter the results.
type: array
Expand Down Expand Up @@ -774,11 +784,6 @@ components:
type: array
items:
$ref: '#/components/schemas/EdamSection'
EdamConceptId:
description: The unique identifier of the EDAM concept.
type: integer
format: int64
example: 1
EdamConcept:
type: object
description: The EDAM concept.
Expand Down
15 changes: 10 additions & 5 deletions libs/openchallenges/api-description/build/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,11 @@ components:
- mlcube
- other
example: container_image
EdamConceptId:
description: The unique identifier of the EDAM concept.
type: integer
format: int64
example: 1
ChallengeCategory:
description: The category of the challenge.
type: string
Expand Down Expand Up @@ -443,6 +448,11 @@ components:
type: array
items:
$ref: '#/components/schemas/ChallengeSubmissionType'
inputDataTypes:
description: An array of EDAM concept ID used to filter the results.
type: array
items:
$ref: '#/components/schemas/EdamConceptId'
categories:
description: The array of challenge categories used to filter the results.
type: array
Expand Down Expand Up @@ -928,11 +938,6 @@ components:
type: array
items:
$ref: '#/components/schemas/EdamSection'
EdamConceptId:
description: The unique identifier of the EDAM concept.
type: integer
format: int64
example: 1
EdamConcept:
type: object
description: The EDAM concept.
Expand Down

0 comments on commit a4ac6ee

Please sign in to comment.