Skip to content

Commit

Permalink
fix(cli): oas2kong would not parse the --format flag (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Jul 17, 2023
1 parent 95bc95f commit 4926a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/file_openapi2kong.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ See: https://github.com/Kong/go-apiops/blob/main/docs/learnservice_oas.yaml`,
"OpenAPI spec file to process. Use - to read from stdin")
openapi2kongCmd.Flags().StringVarP(&cmdO2KoutputFilename, "output-file", "o", "-",
"output file to write. Use - to write to stdout")
openapi2kongCmd.Flags().StringP("format", "", "yaml", "output format: yaml or json")
openapi2kongCmd.Flags().StringVarP(&cmdO2KoutputFormat, "format", "", "yaml", "output format: yaml or json")
openapi2kongCmd.Flags().StringVarP(&cmdO2KdocName, "uuid-base", "", "",
"the unique base-string for uuid-v5 generation of entity id's (if omitted\n"+
"will use the root-level \"x-kong-name\" directive, or fall back to 'info.title')")
Expand Down

0 comments on commit 4926a01

Please sign in to comment.