You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: common/src/main/resources/META-INF/openapi.json
+30-30
Original file line number
Diff line number
Diff line change
@@ -59,36 +59,6 @@
59
59
}
60
60
]
61
61
},
62
-
"/admin/artifactTypes": {
63
-
"summary": "The list of artifact types supported by this instance of Registry.",
64
-
"get": {
65
-
"tags": [
66
-
"Artifact Type",
67
-
"Admin"
68
-
],
69
-
"responses": {
70
-
"200": {
71
-
"content": {
72
-
"application/json": {
73
-
"schema": {
74
-
"type": "array",
75
-
"items": {
76
-
"$ref": "#/components/schemas/ArtifactTypeInfo"
77
-
}
78
-
}
79
-
}
80
-
},
81
-
"description": "The list of available artifact types."
82
-
},
83
-
"500": {
84
-
"$ref": "#/components/responses/ServerError"
85
-
}
86
-
},
87
-
"operationId": "listArtifactTypes",
88
-
"summary": "List artifact types",
89
-
"description": "Gets a list of all the configured artifact types.\n\nThis operation can fail for the following reasons:\n\n* A server error occurred (HTTP error `500`)\n"
90
-
}
91
-
},
92
62
"/admin/rules": {
93
63
"summary": "Manage the global rules that apply to all artifacts if not otherwise configured.",
94
64
"get": {
@@ -3441,6 +3411,36 @@
3441
3411
"description": "Creates a new mapping between a user/principal and a role.\n\nThis operation can fail for the following reasons:\n\n* A server error occurred (HTTP error `500`)\n\n"
3442
3412
}
3443
3413
},
3414
+
"/admin/config/artifactTypes": {
3415
+
"summary": "The list of artifact types supported by this instance of Registry.",
3416
+
"get": {
3417
+
"tags": [
3418
+
"Artifact Type",
3419
+
"Admin"
3420
+
],
3421
+
"responses": {
3422
+
"200": {
3423
+
"content": {
3424
+
"application/json": {
3425
+
"schema": {
3426
+
"type": "array",
3427
+
"items": {
3428
+
"$ref": "#/components/schemas/ArtifactTypeInfo"
3429
+
}
3430
+
}
3431
+
}
3432
+
},
3433
+
"description": "The list of available artifact types."
3434
+
},
3435
+
"500": {
3436
+
"$ref": "#/components/responses/ServerError"
3437
+
}
3438
+
},
3439
+
"operationId": "listArtifactTypes",
3440
+
"summary": "List artifact types",
3441
+
"description": "Gets a list of all the configured artifact types.\n\nThis operation can fail for the following reasons:\n\n* A server error occurred (HTTP error `500`)\n"
// ToGetRequestInformation gets a list of all the configured artifact types.This operation can fail for the following reasons:* A server error occurred (HTTP error `500`)
0 commit comments