Skip to content

Commit

Permalink
fix: support output CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 15, 2023
1 parent 567a732 commit 58696c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getConfig.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ const createConfig = (config: ConfigFile): Config => {
const openapi = config.openapi!;
return {
input: openapi.inputFile,
output: config.input,
output: openapi.outputDir ?? config.input,
trailingSlash: config.trailingSlash,
outputEachDir: config.outputEachDir,
outputMode: config.outputMode,

0 comments on commit 58696c3

Please sign in to comment.