Skip to content

Commit 51f36b2

Browse files
committed
Rest Auth Type should also be undefined
1 parent cff9363 commit 51f36b2

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

definitions/draco_rest/data_types/rest_adapter_auth_type.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"content": "Webhook credential variant"
1919
}
2020
],
21-
"type": "'Bearer JWT' | 'Bearer static' | 'Basic'",
21+
"type": "'Bearer JWT' | 'Bearer static' | 'Basic' | undefined | null",
2222
"linkedDataTypeIdentifiers": [],
2323
"rules": []
2424
}

definitions/draco_rest/data_types/rest_adapter_auth_value.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "T extends 'Basic' ? { username: string, password: string } : T extends undefined ? undefined : string",
22+
"type": "T extends 'Basic' ? { username: string, password: string } : T extends undefined ? undefined : T extends null ? null : string",
2323
"linkedDataTypeIdentifiers": [],
2424
"rules": []
2525
}

definitions/taurus/http/data_types/http_auth_place.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "T extends 'Bearer' ? 'Header' : T extends 'Basic' ? 'Header' : T extends undefined ? undefined : 'Header' | 'Url'",
22+
"type": "T extends 'Bearer' ? 'Header' : T extends 'Basic' ? 'Header' : T extends undefined ? undefined : T extends null ? null : 'Header' | 'Url'",
2323
"linkedDataTypeIdentifiers": [],
2424
"rules": []
2525
}

definitions/taurus/http/data_types/http_auth_type.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"content": "HTTP credential variant"
1919
}
2020
],
21-
"type": "'Bearer' | 'Basic' | 'X-API-Key' | string | undefined",
21+
"type": "'Bearer' | 'Basic' | 'X-API-Key' | string | undefined | null",
2222
"linkedDataTypeIdentifiers": [],
2323
"rules": []
2424
}

definitions/taurus/http/data_types/http_auth_value.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "T extends 'Basic' ? { username: string, password: string } : T extends undefined ? undefined : string",
22+
"type": "T extends 'Basic' ? { username: string, password: string } : T extends undefined ? undefined : T extends null ? null : string",
2323
"linkedDataTypeIdentifiers": [],
2424
"rules": []
2525
}

definitions/taurus/http/data_types/http_payload.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "T extends 'application/json' ? OBJECT<{}> : T extends undefined ? undefined : string",
22+
"type": "T extends 'application/json' ? OBJECT<{}> : T extends undefined ? undefined : T extends null ? null : string",
2323
"linkedDataTypeIdentifiers": ["OBJECT"],
2424
"rules": []
2525
}

definitions/taurus/http/data_types/http_schema.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"content": "HTTP schema"
1919
}
2020
],
21-
"type": "'application/json' | 'application/xml' | 'text/plain' | 'text/csv' | string | undefined",
21+
"type": "'application/json' | 'application/xml' | 'text/plain' | 'text/csv' | string | undefined | null",
2222
"linkedDataTypeIdentifiers": [],
2323
"rules": []
2424
}

0 commit comments

Comments
 (0)