-
-
Save effervescentia/259bf7dd49c7bccf1450e58efb571e44 to your computer and use it in GitHub Desktop.
single enum union entry in failed SDK codegen
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
export const TestControllerBadUnion200ResponseValueOneOf = { | |
FOO: 'foo' | |
} as const; | |
export type TestControllerBadUnion200ResponseValueOneOf = typeof TestControllerBadUnion200ResponseValueOneOf[keyof typeof TestControllerBadUnion200ResponseValueOneOf]; | |
export function TestControllerBadUnion200ResponseValueOneOfFromJSON(json: any): TestControllerBadUnion200ResponseValueOneOf { | |
return TestControllerBadUnion200ResponseValueOneOfFromJSONTyped(json, false); | |
} | |
export function TestControllerBadUnion200ResponseValueOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TestControllerBadUnion200ResponseValueOneOf { | |
return json as TestControllerBadUnion200ResponseValueOneOf; | |
} | |
export function TestControllerBadUnion200ResponseValueOneOfToJSON(value?: TestControllerBadUnion200ResponseValueOneOf | null): any { | |
return value as any; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment