openapi-generator/bin/security
Jim Schubert 8df3e54873 Move bash argv opt to end of ags line in scripts (#124)
The $@ option in bash doesn't make sense to come before `generate`
because the only option we can pass before generate cli usage is `help`.

System properties can be passed via JAVA_OPTS, so there's not really a
need for any intermediaries in the command line construction.

Having $@ at the end of the arguments list allows maintainers and users
inspecting options to quickly pass new options to a script. For example,

```
./bin/aspnetcore-petstore.sh --additional-properties sourceFolder=asdf
```

For command line arguments that may appear more than once in the
arguments list, this change doesn't provide any rules about overwriting
values that may exist (hard-coded) in the script. That is, in the
example above, if aspnetcore-petstore.sh already includes the
sourceFolder set to a different value, the "winning" value is up to the
options parser and openapi-generator-cli implementation.
2018-05-22 15:18:52 +08:00
..
windows Fixes in security examples (#396) 2018-05-09 18:13:30 +08:00
csharp-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
go-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
java-petstore-okhttp-gson.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
javascript-closure-angular.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
javascript-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
lumen-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
objc-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
perl-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
php-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
python-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
qt5cpp-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
ruby-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
run-all-petstore-security-test Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
scala-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
silex-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
slim-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
swift-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular2.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-fetch-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-inversify.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-jquery-all.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-node.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00