Skip to content

Commit 7881770

Browse files
authored
Support additional ExpectedReturnCodeResponses (#183)
1 parent e73d9f1 commit 7881770

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

documentation/WinGet-1.4.0.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ components:
944944
- missingDependency
945945
- diskFull
946946
- insufficientMemory
947+
- invalidParameter
947948
- noNetwork
948949
- contactSupport
949950
- rebootRequiredToFinish
@@ -953,6 +954,7 @@ components:
953954
- alreadyInstalled
954955
- downgrade
955956
- blockedByPolicy
957+
- systemNotSupported
956958
- custom
957959

958960
ExpectedReturnCode:

src/WinGet.RestSource.Utils/Validators/EnumValidators/ExpectedReturnCodeResponseValidator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class ExpectedReturnCodeResponseValidator : ApiEnumValidator
2323
"missingDependency",
2424
"diskFull",
2525
"insufficientMemory",
26+
"invalidParameter",
2627
"noNetwork",
2728
"contactSupport",
2829
"rebootRequiredToFinish",
@@ -32,6 +33,7 @@ public class ExpectedReturnCodeResponseValidator : ApiEnumValidator
3233
"alreadyInstalled",
3334
"downgrade",
3435
"blockedByPolicy",
36+
"systemNotSupported",
3537
"custom",
3638
};
3739

0 commit comments

Comments
 (0)