X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=enrichment-coordinator-service%2Fapi%2Fecs-api.json;h=d55dc18408b504f602ef711f4eeb35644cf35749;hb=28ea034c54771d3680743f3885c97d6bc9eb7f7b;hp=f1517df7764b0594bbbfe68c0b57f8a6246ed285;hpb=2dbde318f013212c81c4a1f477d7638ec3367aa5;p=nonrtric.git diff --git a/enrichment-coordinator-service/api/ecs-api.json b/enrichment-coordinator-service/api/ecs-api.json index f1517df7..d55dc184 100644 --- a/enrichment-coordinator-service/api/ecs-api.json +++ b/enrichment-coordinator-service/api/ecs-api.json @@ -252,11 +252,12 @@ "produces": ["application/json"], "operationId": "putEiTypeUsingPUT", "responses": { - "200": { - "schema": {"type": "object"}, - "description": "OK" - }, + "200": {"description": "OK"}, "201": {"description": "Created"}, + "400": { + "schema": {"$ref": "#/definitions/ProblemDetails"}, + "description": "Bad request" + }, "401": {"description": "Unauthorized"}, "403": {"description": "Forbidden"}, "404": {"description": "Not Found"} @@ -651,6 +652,7 @@ "description": "Information for an EI type", "type": "object", "title": "producer_ei_type_info", + "required": ["ei_job_data_schema"], "properties": {"ei_job_data_schema": { "description": "Json schema for the job data", "type": "object"