Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "NONRTRIC - Enrichment Coordinator Service, Changed error codes"
[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
3f2a1cd
..
c4463b0
100644
(file)
--- a/
enrichment-coordinator-service/api/ecs-api.yaml
+++ b/
enrichment-coordinator-service/api/ecs-api.yaml
@@
-189,7
+189,7
@@
paths:
schema:
$ref: '#/components/schemas/Void'
400:
schema:
$ref: '#/components/schemas/Void'
400:
- description:
Bad request
+ description:
Input validation failed
content:
application/json:
schema:
content:
application/json:
schema:
@@
-226,7
+226,7
@@
paths:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
- 40
6
:
+ 40
9
:
description: The Information type has one or several active producers
content:
application/json:
description: The Information type has one or several active producers
content:
application/json:
@@
-429,8
+429,14
@@
paths:
application/json:
schema:
$ref: '#/components/schemas/Void'
application/json:
schema:
$ref: '#/components/schemas/Void'
+ 400:
+ description: Input validation failed
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
404:
404:
- description: Producer not found
+ description: Producer
type
not found
content:
application/json:
schema:
content:
application/json:
schema:
@@
-564,12
+570,24
@@
paths:
application/json:
schema:
$ref: '#/components/schemas/Void'
application/json:
schema:
$ref: '#/components/schemas/Void'
+ 400:
+ description: Input validation failed
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
404:
description: Enrichment Information type is not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
404:
description: Enrichment Information type is not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
+ 409:
+ description: Cannot modify job type
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
delete:
tags:
- A1-EI (registration)
delete:
tags:
- A1-EI (registration)
@@
-711,12
+729,24
@@
paths:
application/json:
schema:
$ref: '#/components/schemas/Void'
application/json:
schema:
$ref: '#/components/schemas/Void'
+ 400:
+ description: Input validation failed
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
404:
description: Information type is not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
404:
description: Information type is not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
+ 409:
+ description: Cannot modify job type
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProblemDetails'
delete:
tags:
- Data consumer
delete:
tags:
- Data consumer
@@
-1173,6
+1203,9
@@
components:
- info_job_data_schema
type: object
properties:
- info_job_data_schema
type: object
properties:
+ info_type_information:
+ type: object
+ description: Type specific information for the information type
info_job_data_schema:
type: object
description: Json schema for the job data
info_job_data_schema:
type: object
description: Json schema for the job data