mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Default should be write...
This commit is contained in:
parent
d910f60703
commit
a2f2b0c943
@ -21,7 +21,7 @@ export enum HttpClient {
|
||||
* @param httpClient The selected httpClient (fetch or XHR).
|
||||
* @param write Write the files to disk (true or false)
|
||||
*/
|
||||
export function generate(input: string, output: string, httpClient: HttpClient = HttpClient.FETCH, write: boolean = false): void {
|
||||
export function generate(input: string, output: string, httpClient: HttpClient = HttpClient.FETCH, write: boolean = true): void {
|
||||
const inputPath = path.resolve(process.cwd(), input);
|
||||
const outputPath = path.resolve(process.cwd(), output);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user