Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rejecting EI types with no schema
[nonrtric.git]
/
enrichment-coordinator-service
/
api
/
ecs-api.yaml
diff --git
a/enrichment-coordinator-service/api/ecs-api.yaml
b/enrichment-coordinator-service/api/ecs-api.yaml
index
7b3d011
..
d7d5eb3
100644
(file)
--- a/
enrichment-coordinator-service/api/ecs-api.yaml
+++ b/
enrichment-coordinator-service/api/ecs-api.yaml
@@
-314,13
+314,16
@@
paths:
responses:
200:
description: OK
responses:
200:
description: OK
- content:
- application/json:
- schema:
- type: object
+ content: {}
201:
description: Created
content: {}
201:
description: Created
content: {}
+ 400:
+ description: Bad request
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
401:
description: Unauthorized
content: {}
401:
description: Unauthorized
content: {}
@@
-787,6
+790,8
@@
components:
type: object
producer_ei_type_info:
title: producer_ei_type_info
type: object
producer_ei_type_info:
title: producer_ei_type_info
+ required:
+ - ei_job_data_schema
type: object
properties:
ei_job_data_schema:
type: object
properties:
ei_job_data_schema: