X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fapi%2Fecs-api.json;h=7da2270b6ebae0fcda5749d8567b92506b898a44;hb=4cd9f067e6985a28c045dd672bd86581b8b5b1a9;hp=0e8164efab18c962ba82052a88b4c44bfa876d3c;hpb=6ab9cd9df333ab3b5ed1ce6957dcea8f20d5c28d;p=nonrtric.git diff --git a/enrichment-coordinator-service/api/ecs-api.json b/enrichment-coordinator-service/api/ecs-api.json index 0e8164ef..7da2270b 100644 --- a/enrichment-coordinator-service/api/ecs-api.json +++ b/enrichment-coordinator-service/api/ecs-api.json @@ -421,7 +421,7 @@ "description": "Information type is not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} }, - "406": { + "409": { "description": "The Information type has one or several active producers", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } @@ -451,7 +451,7 @@ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, "400": { - "description": "Bad request", + "description": "Input validation failed", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, @@ -635,8 +635,12 @@ "description": "Producer created", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Void"}}} }, + "400": { + "description": "Input validation failed", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} + }, "404": { - "description": "Producer not found", + "description": "Producer type not found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, @@ -741,9 +745,17 @@ "description": "Job created", "content": {"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"}}} + }, + "409": { + "description": "Cannot modify job type", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, "parameters": [{ @@ -854,9 +866,17 @@ "description": "Job created", "content": {"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"}}} + }, + "409": { + "description": "Cannot modify job type", + "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProblemDetails"}}} } }, "parameters": [