Skip to content

Commit a793d5c

Browse files
committed
Changed the --auth parameter to require a value so it is not ignored.
1 parent 4fd4c17 commit a793d5c

File tree

1 file changed

+1
-1
lines changed
  • modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/Codegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void main(String[] args) {
4444
options.addOption("i", "input-spec", true, "location of the swagger spec, as URL or file");
4545
options.addOption("t", "template-dir", true, "folder containing the template files");
4646
options.addOption("d", "debug-info", false, "prints additional info for debugging");
47-
options.addOption("a", "auth", false, "addes authorization headers when fetching the swagger definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values");
47+
options.addOption("a", "auth", true, "addes authorization headers when fetching the swagger definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values");
4848

4949
ClientOptInput clientOptInput = new ClientOptInput();
5050
ClientOpts clientOpts = new ClientOpts();

0 commit comments

Comments
 (0)