if shouldSplit returns true, the generator will use subOpts.CORS AND subOpts.Timeouts with no regards to why shouldSplit returned true - i.e. even if there were timeout options specified at the path level, the generator would take CORS options from path level (which may be empty, so the global options should be taken instead), and vice-versa.
if
shouldSplit
returns true, the generator will usesubOpts.CORS
ANDsubOpts.Timeouts
with no regards to whyshouldSplit
returned true - i.e. even if there were timeout options specified at the path level, the generator would take CORS options from path level (which may be empty, so the global options should be taken instead), and vice-versa.