Skip to content

Commit d1debb5

Browse files
committed
rename file to yaml
1 parent fdfb9b1 commit d1debb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct MergeArgs {
4848
#[arg(short, long, value_name = "specs", value_hint = clap::ValueHint::FilePath, num_args = 1.., required = true)]
4949
spec_yaml: Vec<PathBuf>,
5050
#[arg(short, long, value_name = "output", value_hint = clap::ValueHint::FilePath)]
51-
output_file: PathBuf,
51+
output_yaml: PathBuf,
5252
}
5353

5454
fn main() {
@@ -69,7 +69,7 @@ fn main() {
6969
let openapi_specs = parse_openapi_specs(&args.spec_yaml);
7070
let openapi =
7171
golem_openapi_client_generator::merge_all_openapi_specs(openapi_specs).unwrap();
72-
let file = File::create(&args.output_file).unwrap();
72+
let file = File::create(&args.output_yaml).unwrap();
7373
serde_yaml::to_writer(file, &openapi).unwrap();
7474
}
7575
}

0 commit comments

Comments
 (0)