mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-02 21:50:55 +00:00
Changed the --auth parameter to require a value so it is not ignored.
This commit is contained in:
parent
4fd4c17036
commit
a793d5c6cc
@ -44,7 +44,7 @@ public class Codegen extends DefaultGenerator {
|
|||||||
options.addOption("i", "input-spec", true, "location of the swagger spec, as URL or file");
|
options.addOption("i", "input-spec", true, "location of the swagger spec, as URL or file");
|
||||||
options.addOption("t", "template-dir", true, "folder containing the template files");
|
options.addOption("t", "template-dir", true, "folder containing the template files");
|
||||||
options.addOption("d", "debug-info", false, "prints additional info for debugging");
|
options.addOption("d", "debug-info", false, "prints additional info for debugging");
|
||||||
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");
|
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");
|
||||||
|
|
||||||
ClientOptInput clientOptInput = new ClientOptInput();
|
ClientOptInput clientOptInput = new ClientOptInput();
|
||||||
ClientOpts clientOpts = new ClientOpts();
|
ClientOpts clientOpts = new ClientOpts();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user