Improve enums

This commit is contained in:
Matej Bačo
2025-03-09 00:35:55 +01:00
parent 3730ff4895
commit 06bb001d0b
5 changed files with 31 additions and 8 deletions
@@ -10515,7 +10515,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -26074,7 +26074,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -9384,7 +9384,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -17953,7 +17953,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -10693,7 +10693,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -26601,7 +26601,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
+2 -2
View File
@@ -9563,7 +9563,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
@@ -18450,7 +18450,7 @@
"enum": [
"branch"
],
"x-enum-name": null,
"x-enum-name": "VCSDeploymentType",
"x-enum-keys": []
},
"reference": {
+23
View File
@@ -214,6 +214,12 @@ abstract class Format
return 'DeploymentDownloadType';
}
break;
case 'createVcsDeployment':
switch ($param) {
case 'type':
return 'VCSDeploymentType';
}
break;
}
break;
case 'sites':
@@ -231,6 +237,23 @@ abstract class Format
return 'SiteUsageRange';
}
break;
case 'createVcsDeployment':
switch ($param) {
case 'type':
return 'VCSDeploymentType';
}
break;
}
break;
case 'sites':
switch ($method) {
case 'createRepositoryDetection':
case 'listRepositories':
switch ($param) {
case 'type':
return 'VCSDetectionType';
}
break;
}
break;
case 'messaging':