|
39 | 39 | "$ref": "#/components/schemas/Network" |
40 | 40 | }, |
41 | 41 | "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" |
43 | 47 | }, |
44 | 48 | "runtimeStatus": { |
45 | 49 | "$ref": "#/components/schemas/RuntimeStatus" |
|
53 | 57 | "$ref": "#/components/schemas/ApplicationSecret" |
54 | 58 | }, |
55 | 59 | "type": "array" |
| 60 | + }, |
| 61 | + "stopped": { |
| 62 | + "description": "Indicates if the application resources are stopped.", |
| 63 | + "type": "boolean" |
56 | 64 | } |
57 | 65 | }, |
58 | 66 | "required": [ |
|
64 | 72 | "type": "object" |
65 | 73 | }, |
66 | 74 | "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": { |
67 | 99 | "properties": { |
68 | 100 | "password": { |
69 | 101 | "description": "Password to authenticate to the registry.\nOmit or set to null to indicate deletion in updates.", |
|
82 | 114 | "url", |
83 | 115 | "user" |
84 | 116 | ], |
85 | | - "title": "ApplicationRegistry defines the credentials to authenticate to a registry", |
86 | 117 | "type": "object" |
87 | 118 | }, |
88 | 119 | "ApplicationSecret": { |
|
140 | 171 | "status": { |
141 | 172 | "$ref": "#/components/schemas/CurrentStatus" |
142 | 173 | }, |
| 174 | + "stopped": { |
| 175 | + "description": "Indicates if the application resources are stopped.", |
| 176 | + "type": "boolean" |
| 177 | + }, |
143 | 178 | "url": { |
144 | 179 | "description": "Application's published URL.", |
145 | 180 | "type": "string" |
|
251 | 286 | "$ref": "#/components/schemas/Network" |
252 | 287 | }, |
253 | 288 | "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" |
255 | 294 | }, |
256 | 295 | "runtimeStatus": { |
257 | 296 | "$ref": "#/components/schemas/RuntimeStatus" |
|
265 | 304 | "$ref": "#/components/schemas/ApplicationSecret" |
266 | 305 | }, |
267 | 306 | "type": "array" |
| 307 | + }, |
| 308 | + "stopped": { |
| 309 | + "description": "Indicates if the application resources are stopped.", |
| 310 | + "type": "boolean" |
268 | 311 | } |
269 | 312 | }, |
270 | 313 | "required": [ |
|
666 | 709 | "$ref": "#/components/schemas/Network" |
667 | 710 | }, |
668 | 711 | "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" |
670 | 717 | }, |
671 | 718 | "runtimeStatus": { |
672 | 719 | "$ref": "#/components/schemas/RuntimeStatus" |
|
680 | 727 | "$ref": "#/components/schemas/ApplicationSecret" |
681 | 728 | }, |
682 | 729 | "type": "array" |
| 730 | + }, |
| 731 | + "stopped": { |
| 732 | + "description": "Indicates if the application resources are stopped.", |
| 733 | + "type": "boolean" |
683 | 734 | } |
684 | 735 | }, |
685 | 736 | "required": [ |
|
0 commit comments