MCPcopy
hub / github.com/lukeautry/tsoa / getDefaultExtendedOptions

Function getDefaultExtendedOptions

tests/fixtures/defaultOptions.ts:72–80  ·  view source on GitHub ↗
(outputDirectory = '', entryFile = '')

Source from the content-addressed store, hash-verified

70}
71
72export function getDefaultExtendedOptions(outputDirectory = '', entryFile = ''): ExtendedSpecConfig {
73 const defaultOptions = getDefaultOptions(outputDirectory, entryFile);
74 return {
75 ...defaultOptions.spec,
76 entryFile,
77 noImplicitAdditionalProperties: 'ignore',
78 controllerPathGlobs: defaultOptions.controllerPathGlobs,
79 };
80}

Calls 1

getDefaultOptionsFunction · 0.85

Tested by

no test coverage detected