File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
scripts/update-endpoints/templates Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ type MethodsMap = {
7575type SuccessStatuses = 200 | 201 | 204;
7676type RedirectStatuses = 301 | 302;
7777type EmptyResponseStatuses = 201 | 204;
78- type KnownJsonResponseTypes = "application/json" | "application/scim+json";
78+ type KnownJsonResponseTypes =
79+ | "application/json"
80+ | "application/scim+json"
81+ | "text/html";
7982
8083type SuccessResponseDataType<Responses> = {
8184 [K in SuccessStatuses & keyof Responses]: GetContentKeyIfPresent<
Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ type MethodsMap = {
7575type SuccessStatuses = 200 | 201 | 204 ;
7676type RedirectStatuses = 301 | 302 ;
7777type EmptyResponseStatuses = 201 | 204 ;
78- type KnownJsonResponseTypes = "application/json" | "application/scim+json" ;
78+ type KnownJsonResponseTypes =
79+ | "application/json"
80+ | "application/scim+json"
81+ | "text/html" ;
7982
8083type SuccessResponseDataType < Responses > = {
8184 [ K in SuccessStatuses & keyof Responses ] : GetContentKeyIfPresent <
You can’t perform that action at this time.
0 commit comments