|
655 | 655 | "$ref": "#/components/schemas/EnvironmentKind" |
656 | 656 | } |
657 | 657 | ], |
658 | | - "default": "custom" |
| 658 | + "default": "CUSTOM" |
659 | 659 | } |
660 | 660 | }, |
661 | 661 | "required": ["environment_image_source", "environment_kind"] |
|
685 | 685 | "$ref": "#/components/schemas/EnvironmentKind" |
686 | 686 | } |
687 | 687 | ], |
688 | | - "default": "custom" |
| 688 | + "default": "CUSTOM" |
689 | 689 | } |
690 | 690 | }, |
691 | 691 | "required": [ |
|
855 | 855 | "$ref": "#/components/schemas/EnvironmentPort" |
856 | 856 | }, |
857 | 857 | "command": { |
858 | | - "$ref": "#/components/schemas/EnvironmentCommand" |
| 858 | + "$ref": "#/components/schemas/EnvironmentPatchCommand" |
859 | 859 | }, |
860 | 860 | "args": { |
861 | | - "$ref": "#/components/schemas/EnvironmentArgs" |
| 861 | + "$ref": "#/components/schemas/EnvironmentPatchArgs" |
862 | 862 | }, |
863 | 863 | "is_archived": { |
864 | | - "$ref": "#/components/schemas/IsArchived" |
| 864 | + "$ref": "#/components/schemas/IsArchivedPatch" |
865 | 865 | }, |
866 | 866 | "strip_path_prefix": { |
867 | | - "$ref": "#/components/schemas/StripPathPrefix" |
| 867 | + "$ref": "#/components/schemas/StripPathPrefixPatch" |
868 | 868 | } |
869 | 869 | } |
870 | 870 | }, |
|
1242 | 1242 | "description": "The command that will be run i.e. will overwrite the image Dockerfile ENTRYPOINT, equivalent to command in Kubernetes", |
1243 | 1243 | "minItems": 1 |
1244 | 1244 | }, |
| 1245 | + "EnvironmentPatchCommand": { |
| 1246 | + "type": "array", |
| 1247 | + "description": "The command that will be run i.e. will overwrite the image Dockerfile ENTRYPOINT, equivalent to command in Kubernetes", |
| 1248 | + "items": { |
| 1249 | + "type": "string" |
| 1250 | + }, |
| 1251 | + "nullable": true, |
| 1252 | + "minItems": 1 |
| 1253 | + }, |
1245 | 1254 | "EnvironmentArgs": { |
1246 | 1255 | "type": "array", |
1247 | 1256 | "items": { |
|
1250 | 1259 | "description": "The arguments that will follow the command, i.e. will overwrite the image Dockerfile CMD, equivalent to args in Kubernetes", |
1251 | 1260 | "minItems": 1 |
1252 | 1261 | }, |
| 1262 | + "EnvironmentPatchArgs": { |
| 1263 | + "type": "array", |
| 1264 | + "description": "The arguments that will follow the command, i.e. will overwrite the image Dockerfile CMD, equivalent to args in Kubernetes", |
| 1265 | + "items": { |
| 1266 | + "type": "string" |
| 1267 | + }, |
| 1268 | + "nullable": true, |
| 1269 | + "minItems": 1 |
| 1270 | + }, |
1253 | 1271 | "IsArchived": { |
1254 | 1272 | "type": "boolean", |
1255 | 1273 | "description": "Whether this environment is archived and not for use in new projects or not", |
1256 | 1274 | "default": false |
1257 | 1275 | }, |
| 1276 | + "IsArchivedPatch": { |
| 1277 | + "type": "boolean", |
| 1278 | + "description": "Whether this environment is archived and not for use in new projects or not" |
| 1279 | + }, |
1258 | 1280 | "Build": { |
1259 | 1281 | "description": "A container image build", |
1260 | 1282 | "type": "object", |
|
1332 | 1354 | "default": false, |
1333 | 1355 | "description": "If set to true the default url and the base path where sessions are\nserved will be removed from all URL paths before the requests reach\nthe server running in the session. So the server in the session will\nreceive HTTP requests whose base path will be \"/\". However this will\nnot work unless the server running inside the session can be made\naware that paths are rewritten. For example, if the application/server\nrunning in the session serves a HTML page that then loads javascript\nand CSS, the path where these assets should be loaded from in the browser\nwill not be \"/\" but it has to include the prefix that was stripped. And\nthe server from the session that generated the HTML page needs to know\nwhat is the full base path (including the part that was stripped) so that\nit can make the URLs to such assets be reachable from the browser." |
1334 | 1356 | }, |
| 1357 | + "StripPathPrefixPatch": { |
| 1358 | + "type": "boolean", |
| 1359 | + "description": "If set to true the default url and the base path where sessions are\nserved will be removed from all URL paths before the requests reach\nthe server running in the session. So the server in the session will\nreceive HTTP requests whose base path will be \"/\". However this will\nnot work unless the server running inside the session can be made\naware that paths are rewritten. For example, if the application/server\nrunning in the session serves a HTML page that then loads javascript\nand CSS, the path where these assets should be loaded from in the browser\nwill not be \"/\" but it has to include the prefix that was stripped. And\nthe server from the session that generated the HTML page needs to know\nwhat is the full base path (including the part that was stripped) so that\nit can make the URLs to such assets be reachable from the browser." |
| 1360 | + }, |
1335 | 1361 | "BuildPatch": { |
1336 | 1362 | "description": "The requested update of a container image build", |
1337 | 1363 | "type": "object", |
|
0 commit comments