Skip to content

Commit ec6a39f

Browse files
committed
Automatically updated the core API OpenAPI definition.
1 parent 88c7e96 commit ec6a39f

File tree

1 file changed

+25
-0
lines changed
  • app/src/main/resources-unfiltered/META-INF/resources/api-specifications/registry/v3

1 file changed

+25
-0
lines changed

app/src/main/resources-unfiltered/META-INF/resources/api-specifications/registry/v3/openapi.json

+25
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,9 @@
14531453
"409": {
14541454
"$ref": "#/components/responses/RuleViolationConflict"
14551455
},
1456+
"422": {
1457+
"$ref": "#/components/responses/UnprocessableEntity"
1458+
},
14561459
"500": {
14571460
"$ref": "#/components/responses/ServerError"
14581461
}
@@ -2010,6 +2013,9 @@
20102013
"409": {
20112014
"$ref": "#/components/responses/RuleViolationConflict"
20122015
},
2016+
"422": {
2017+
"$ref": "#/components/responses/UnprocessableEntity"
2018+
},
20132019
"500": {
20142020
"$ref": "#/components/responses/ServerError"
20152021
}
@@ -5406,6 +5412,25 @@
54065412
}
54075413
},
54085414
"description": "The content of one version of one artifact."
5415+
},
5416+
"UnprocessableEntity": {
5417+
"description": "The artifact content is not valid for one of the following reasons:\n* Schema validation failed\n* References could not be validated\n* Required references are missing",
5418+
"content": {
5419+
"application/json": {
5420+
"schema": {
5421+
"$ref": "#/components/schemas/ProblemDetails"
5422+
},
5423+
"examples": {
5424+
"UnprocessableEntityExample": {
5425+
"value": {
5426+
"error_code": 422,
5427+
"message": "The artifact content is invalid: Schema validation failed",
5428+
"name": "SchemaValidationException"
5429+
}
5430+
}
5431+
}
5432+
}
5433+
}
54095434
}
54105435
}
54115436
},

0 commit comments

Comments
 (0)