-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In case of a single error, don't define a custom type #133
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -w -d -r main/generated/GithubV3RestApi/Api.elm branch/generated/GithubV3RestApi/Api.elm
2608c2608
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsGetInstallation_Error String) GithubV3RestApi.Types.Installation
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.Installation
2629,2634c2629
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsGetInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
2652c2647
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsGetInstallation_Error String) GithubV3RestApi.Types.Installation
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.Installation
2668,2673c2663
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsGetInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
2690c2680
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteInstallation_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
2711,2716c2701
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
2734c2719
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteInstallation_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
2750,2755c2735
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
2955c2935
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsSuspendInstallation_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
2977,2982c2957
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsSuspendInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
3000c2975
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsSuspendInstallation_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
3017,3022c2992
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsSuspendInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
3039c3009
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsUnsuspendInstallation_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
3061,3066c3031
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsUnsuspendInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
3084c3049
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsUnsuspendInstallation_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
3101,3106c3066
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsUnsuspendInstallation_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
3122c3082
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteAuthorization_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
3141,3146c3101
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteAuthorization_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3170c3125
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteAuthorization_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
3183,3188c3138
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteAuthorization_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3307c3257
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsResetToken_Error String) GithubV3RestApi.Types.Authorization
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) GithubV3RestApi.Types.Authorization
3326,3331c3276
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsResetToken_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3354c3299
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsResetToken_Error String) GithubV3RestApi.Types.Authorization
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) GithubV3RestApi.Types.Authorization
3367,3372c3312
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsResetToken_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3394c3334
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteToken_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
3413,3418c3353
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteToken_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3441c3376
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsDeleteToken_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
3454,3459c3389
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.AppsDeleteToken_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
3814c3744
< Result (OpenApi.Common.Error GithubV3RestApi.Types.CodesOfConductGetConductCode_Error String) GithubV3RestApi.Types.CodeOfConduct
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.CodeOfConduct
3832,3837c3762
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodesOfConductGetConductCode_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
3850c3775
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.CodesOfConductGetConductCode_Error String) GithubV3RestApi.Types.CodeOfConduct
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.CodeOfConduct
3863,3868c3788
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodesOfConductGetConductCode_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
6917c6837
< Result (OpenApi.Common.Error GithubV3RestApi.Types.EnterpriseAdminListLabelsForSelfHostedRunnerForEnterprise_Error String) GithubV3RestApi.Types.ActionsRunnerLabels
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabels
6941,6946c6861
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.EnterpriseAdminListLabelsForSelfHostedRunnerForEnterprise_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
6964c6879
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.EnterpriseAdminListLabelsForSelfHostedRunnerForEnterprise_Error String) GithubV3RestApi.Types.ActionsRunnerLabels
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabels
6983,6988c6898
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.EnterpriseAdminListLabelsForSelfHostedRunnerForEnterprise_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
7815c7725
< Result (OpenApi.Common.Error GithubV3RestApi.Types.BillingGetGithubAdvancedSecurityBillingGhe_Error String) GithubV3RestApi.Types.AdvancedSecurityActiveCommitters
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.CodeScanningForbiddenRead String) GithubV3RestApi.Types.AdvancedSecurityActiveCommitters
7848,7850c7758
< , Json.Decode.map
< GithubV3RestApi.Types.BillingGetGithubAdvancedSecurityBillingGhe_403
< GithubV3RestApi.Json.decodeCodeScanningForbiddenRead
---
> , GithubV3RestApi.Json.decodeCodeScanningForbiddenRead
7872c7780
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.BillingGetGithubAdvancedSecurityBillingGhe_Error String) GithubV3RestApi.Types.AdvancedSecurityActiveCommitters
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.CodeScanningForbiddenRead String) GithubV3RestApi.Types.AdvancedSecurityActiveCommitters
7900,7902c7808
< , Json.Decode.map
< GithubV3RestApi.Types.BillingGetGithubAdvancedSecurityBillingGhe_403
< GithubV3RestApi.Json.decodeCodeScanningForbiddenRead
---
> , GithubV3RestApi.Json.decodeCodeScanningForbiddenRead
8080c7986
< Result (OpenApi.Common.Error GithubV3RestApi.Types.GistsList_Error String) (List GithubV3RestApi.Types.BaseGist)
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.Forbidden String) (List GithubV3RestApi.Types.BaseGist)
8110,8115c8016
< [ ( "403"
< , Json.Decode.map
< GithubV3RestApi.Types.GistsList_403
< GithubV3RestApi.Json.decodeForbidden
< )
< ]
---
> [ ( "403", GithubV3RestApi.Json.decodeForbidden ) ]
8132c8033
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.GistsList_Error String) (List GithubV3RestApi.Types.BaseGist)
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.Forbidden String) (List GithubV3RestApi.Types.BaseGist)
8157,8162c8058
< [ ( "403"
< , Json.Decode.map
< GithubV3RestApi.Types.GistsList_403
< GithubV3RestApi.Json.decodeForbidden
< )
< ]
---
> [ ( "403", GithubV3RestApi.Json.decodeForbidden ) ]
9089c8985
< Result (OpenApi.Common.Error GithubV3RestApi.Types.GistsUpdateComment_Error String) GithubV3RestApi.Types.GistComment
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.GistComment
9112,9117c9008
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.GistsUpdateComment_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
9136c9027
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.GistsUpdateComment_Error String) GithubV3RestApi.Types.GistComment
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.GistComment
9153,9158c9044
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.GistsUpdateComment_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
11182c11068
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsListPlansStubbed_Error String) (List GithubV3RestApi.Types.MarketplaceListingPlan)
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.RequiresAuthentication String) (List GithubV3RestApi.Types.MarketplaceListingPlan)
11210,11212c11096
< , Json.Decode.map
< GithubV3RestApi.Types.AppsListPlansStubbed_401
< GithubV3RestApi.Json.decodeRequiresAuthentication
---
> , GithubV3RestApi.Json.decodeRequiresAuthentication
11234c11118
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsListPlansStubbed_Error String) (List GithubV3RestApi.Types.MarketplaceListingPlan)
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.RequiresAuthentication String) (List GithubV3RestApi.Types.MarketplaceListingPlan)
11257,11259c11141
< , Json.Decode.map
< GithubV3RestApi.Types.AppsListPlansStubbed_401
< GithubV3RestApi.Json.decodeRequiresAuthentication
---
> , GithubV3RestApi.Json.decodeRequiresAuthentication
11280c11162
< Result (OpenApi.Common.Error GithubV3RestApi.Types.AppsListAccountsForPlanStubbed_Error String) (List GithubV3RestApi.Types.MarketplacePurchase)
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.RequiresAuthentication String) (List GithubV3RestApi.Types.MarketplacePurchase)
11323,11325c11205
< , Json.Decode.map
< GithubV3RestApi.Types.AppsListAccountsForPlanStubbed_401
< GithubV3RestApi.Json.decodeRequiresAuthentication
---
> , GithubV3RestApi.Json.decodeRequiresAuthentication
11352c11232
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.AppsListAccountsForPlanStubbed_Error String) (List GithubV3RestApi.Types.MarketplacePurchase)
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.RequiresAuthentication String) (List GithubV3RestApi.Types.MarketplacePurchase)
11384,11386c11264
< , Json.Decode.map
< GithubV3RestApi.Types.AppsListAccountsForPlanStubbed_401
< GithubV3RestApi.Json.decodeRequiresAuthentication
---
> , GithubV3RestApi.Json.decodeRequiresAuthentication
11979c11857
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActivityMarkThreadAsRead_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.Forbidden String) ()
12000,12005c11878
< [ ( "403"
< , Json.Decode.map
< GithubV3RestApi.Types.ActivityMarkThreadAsRead_403
< GithubV3RestApi.Json.decodeForbidden
< )
< ]
---
> [ ( "403", GithubV3RestApi.Json.decodeForbidden ) ]
12021c11894
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActivityMarkThreadAsRead_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.Forbidden String) ()
12037,12042c11910
< [ ( "403"
< , Json.Decode.map
< GithubV3RestApi.Types.ActivityMarkThreadAsRead_403
< GithubV3RestApi.Json.decodeForbidden
< )
< ]
---
> [ ( "403", GithubV3RestApi.Json.decodeForbidden ) ]
12625c12493
< Result (OpenApi.Common.Error GithubV3RestApi.Types.OrgsGet_Error String) GithubV3RestApi.Types.OrganizationFull
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.OrganizationFull
12643,12648c12511
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsGet_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
12666c12529
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.OrgsGet_Error String) GithubV3RestApi.Types.OrganizationFull
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.OrganizationFull
12679,12684c12542
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsGet_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
14208,14210c14066
< { toMsg :
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization_Error String) ()
< -> msg
---
> { toMsg : Result (OpenApi.Common.Error () String) () -> msg
14232,14239c14088
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
14264c14113
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error () String) ()
14281,14288c14130
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
16177c16019
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActionsListLabelsForSelfHostedRunnerForOrg_Error String) GithubV3RestApi.Types.ActionsRunnerLabels
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabels
16201,16206c16043
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsListLabelsForSelfHostedRunnerForOrg_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
16224c16061
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActionsListLabelsForSelfHostedRunnerForOrg_Error String) GithubV3RestApi.Types.ActionsRunnerLabels
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabels
16243,16248c16080
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsListLabelsForSelfHostedRunnerForOrg_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
16498c16330
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg_Error String) GithubV3RestApi.Types.ActionsRunnerLabelsReadonly
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabelsReadonly
16522,16527c16354
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
16546c16373
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg_Error String) GithubV3RestApi.Types.ActionsRunnerLabelsReadonly
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) GithubV3RestApi.Types.ActionsRunnerLabelsReadonly
16565,16570c16392
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
17531,17533c17353
< { toMsg :
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActionsAddSelectedRepoToOrgSecret_Error String) ()
< -> msg
---
> { toMsg : Result (OpenApi.Common.Error () String) () -> msg
17556,17563c17376
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsAddSelectedRepoToOrgSecret_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
17578c17391
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActionsAddSelectedRepoToOrgSecret_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error () String) ()
17597,17604c17410
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsAddSelectedRepoToOrgSecret_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
17617,17619c17423
< { toMsg :
< Result (OpenApi.Common.Error GithubV3RestApi.Types.ActionsRemoveSelectedRepoFromOrgSecret_Error String) ()
< -> msg
---
> { toMsg : Result (OpenApi.Common.Error () String) () -> msg
17642,17649c17446
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsRemoveSelectedRepoFromOrgSecret_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
17664c17461
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ActionsRemoveSelectedRepoFromOrgSecret_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error () String) ()
17683,17690c17480
< (Dict.fromList
< [ ( "409"
< , Json.Decode.map
< GithubV3RestApi.Types.ActionsRemoveSelectedRepoFromOrgSecret_409
< (Json.Decode.succeed ())
< )
< ]
< )
---
> (Dict.fromList [ ( "409", Json.Decode.succeed () ) ])
17759c17549
< Result (OpenApi.Common.Error GithubV3RestApi.Types.OrgsCheckBlockedUser_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.BasicError String) ()
17777,17782c17567
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsCheckBlockedUser_404
< GithubV3RestApi.Json.decodeBasicError
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeBasicError ) ]
17795c17580
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.OrgsCheckBlockedUser_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.BasicError String) ()
17808,17813c17593
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsCheckBlockedUser_404
< GithubV3RestApi.Json.decodeBasicError
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeBasicError ) ]
17825c17605
< Result (OpenApi.Common.Error GithubV3RestApi.Types.OrgsBlockUser_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
17843,17848c17623
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsBlockUser_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
17861c17636
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.OrgsBlockUser_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.ValidationFailed String) ()
17874,17879c17649
< [ ( "422"
< , Json.Decode.map
< GithubV3RestApi.Types.OrgsBlockUser_422
< GithubV3RestApi.Json.decodeValidationFailed
< )
< ]
---
> [ ( "422", GithubV3RestApi.Json.decodeValidationFailed ) ]
19027c18797
< Result (OpenApi.Common.Error GithubV3RestApi.Types.CodespacesDeleteOrgSecret_Error String) ()
---
> Result (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
19050,19055c18820
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodespacesDeleteOrgSecret_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
19071c18836
< -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.CodespacesDeleteOrgSecret_Error String) ()
---
> -> Task.Task (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String) ()
19089,19094c18854
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodespacesDeleteOrgSecret_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
19110c18870
< (OpenApi.Common.Error GithubV3RestApi.Types.CodespacesListSelectedReposForOrgSecret_Error String)
---
> (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String)
19152,19157c18912
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodespacesListSelectedReposForOrgSecret_404
< GithubV3RestApi.Json.decodeNotFound
< )
< ]
---
> [ ( "404", GithubV3RestApi.Json.decodeNotFound ) ]
19199c18954
< (OpenApi.Common.Error GithubV3RestApi.Types.CodespacesListSelectedReposForOrgSecret_Error String)
---
> (OpenApi.Common.Error GithubV3RestApi.Types.NotFound String)
19231,19236c18986
< [ ( "404"
< , Json.Decode.map
< GithubV3RestApi.Types.CodespacesListSelectedReposForOrgSecret_404
< GithubV3RestApi.Json.decodeNotFound
< )
< |
wolfadex
approved these changes
Aug 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.