Skip to content

Commit

Permalink
Merge pull request #336 from hms-dbmi-cellenics/fix-processing-config…
Browse files Browse the repository at this point in the history
…-validation

Add empty object procesing config validation for experiments that have not been executed yet
  • Loading branch information
cosa65 authored Apr 25, 2022
2 parents cf0e414 + 4d2d00d commit cf487ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/specs/api.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ProcessingConfig'
anyOf:
- type: object
additionalProperties: false
- $ref: '#/components/schemas/ProcessingConfig'
'400':
description: Bad Request
content:
Expand Down

0 comments on commit cf487ce

Please sign in to comment.