fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2356 from seriouslag/patch/add-output-object-check

authored by

Lubos and committed by
GitHub
f604323b 9ccd969a

+3 -2
+3 -2
packages/openapi-ts/src/openApi/shared/utils/operation.ts
··· 39 39 40 40 const { output } = context.config; 41 41 const targetCase = 42 - (output !== undefined && 'case' in output ? output.case : undefined) ?? 43 - 'camelCase'; 42 + (output !== undefined && typeof output === 'object' && 'case' in output 43 + ? output.case 44 + : undefined) ?? 'camelCase'; 44 45 45 46 if ( 46 47 id &&