Skip to content

Commit 0c4c4c2

Browse files
OAS Update
1 parent d5bd75f commit 0c4c4c2

1 file changed

Lines changed: 55 additions & 4 deletions

File tree

services/sca/v1alpha/sca.json

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
"$ref": "#/components/schemas/Network"
4040
},
4141
"registry": {
42-
"$ref": "#/components/schemas/ApplicationRegistry"
42+
"description": "Image registry configuration for the application.",
43+
"items": {
44+
"$ref": "#/components/schemas/ApplicationRegistry"
45+
},
46+
"type": "array"
4347
},
4448
"runtimeStatus": {
4549
"$ref": "#/components/schemas/RuntimeStatus"
@@ -53,6 +57,10 @@
5357
"$ref": "#/components/schemas/ApplicationSecret"
5458
},
5559
"type": "array"
60+
},
61+
"stopped": {
62+
"description": "Indicates if the application resources are stopped.",
63+
"type": "boolean"
5664
}
5765
},
5866
"required": [
@@ -64,6 +72,30 @@
6472
"type": "object"
6573
},
6674
"ApplicationRegistry": {
75+
"properties": {
76+
"credentials": {
77+
"$ref": "#/components/schemas/ApplicationRegistryCredentialsAuth"
78+
},
79+
"type": {
80+
"$ref": "#/components/schemas/ApplicationRegistryAuthType"
81+
}
82+
},
83+
"required": [
84+
"type"
85+
],
86+
"title": "ApplicationRegistry defines the credentials to authenticate to a registry",
87+
"type": "object"
88+
},
89+
"ApplicationRegistryAuthType": {
90+
"default": "AUTH_TYPE_NONE",
91+
"enum": [
92+
"AUTH_TYPE_NONE",
93+
"AUTH_TYPE_CREDENTIALS"
94+
],
95+
"title": "- AUTH_TYPE_NONE: Used as none required.\n - AUTH_TYPE_CREDENTIALS: Credentials authentication type",
96+
"type": "string"
97+
},
98+
"ApplicationRegistryCredentialsAuth": {
6799
"properties": {
68100
"password": {
69101
"description": "Password to authenticate to the registry.\nOmit or set to null to indicate deletion in updates.",
@@ -82,7 +114,6 @@
82114
"url",
83115
"user"
84116
],
85-
"title": "ApplicationRegistry defines the credentials to authenticate to a registry",
86117
"type": "object"
87118
},
88119
"ApplicationSecret": {
@@ -140,6 +171,10 @@
140171
"status": {
141172
"$ref": "#/components/schemas/CurrentStatus"
142173
},
174+
"stopped": {
175+
"description": "Indicates if the application resources are stopped.",
176+
"type": "boolean"
177+
},
143178
"url": {
144179
"description": "Application's published URL.",
145180
"type": "string"
@@ -251,7 +286,11 @@
251286
"$ref": "#/components/schemas/Network"
252287
},
253288
"registry": {
254-
"$ref": "#/components/schemas/ApplicationRegistry"
289+
"description": "Image registry configuration for the application.",
290+
"items": {
291+
"$ref": "#/components/schemas/ApplicationRegistry"
292+
},
293+
"type": "array"
255294
},
256295
"runtimeStatus": {
257296
"$ref": "#/components/schemas/RuntimeStatus"
@@ -265,6 +304,10 @@
265304
"$ref": "#/components/schemas/ApplicationSecret"
266305
},
267306
"type": "array"
307+
},
308+
"stopped": {
309+
"description": "Indicates if the application resources are stopped.",
310+
"type": "boolean"
268311
}
269312
},
270313
"required": [
@@ -666,7 +709,11 @@
666709
"$ref": "#/components/schemas/Network"
667710
},
668711
"registry": {
669-
"$ref": "#/components/schemas/ApplicationRegistry"
712+
"description": "Image registry configuration for the application.",
713+
"items": {
714+
"$ref": "#/components/schemas/ApplicationRegistry"
715+
},
716+
"type": "array"
670717
},
671718
"runtimeStatus": {
672719
"$ref": "#/components/schemas/RuntimeStatus"
@@ -680,6 +727,10 @@
680727
"$ref": "#/components/schemas/ApplicationSecret"
681728
},
682729
"type": "array"
730+
},
731+
"stopped": {
732+
"description": "Indicates if the application resources are stopped.",
733+
"type": "boolean"
683734
}
684735
},
685736
"required": [

0 commit comments

Comments
 (0)