mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-10 20:37:45 +00:00
fix: infer optional arguments in SDK methods (#97)
* fix: infer optional arguments in SDK methods This change enables a flag that will cause the generator to infer when request and security arguments of SDK methods should be treated as optional. The rule is: if all fields of a request or security type are optional then an argument of that type will be marked as optional in methods. * chore: regenerate sdk
This commit is contained in:
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
export const SDK_METADATA = {
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.1",
|
||||
sdkVersion: "0.26.1",
|
||||
genVersion: "2.322.5",
|
||||
userAgent: "speakeasy-sdk/typescript 0.26.1 2.322.5 0.0.1 dub",
|
||||
sdkVersion: "0.27.0",
|
||||
genVersion: "2.326.0",
|
||||
userAgent: "speakeasy-sdk/typescript 0.27.0 2.326.0 0.0.1 dub",
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user