mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
412923ab5f
* [Slim] Cleanup samples. composer.lock excluded from .gitignore composer.lcok should be commited to SVN. Official recommendation https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control * [Slim] Refactor. Extend AbstractPhpCodegen class * [Slim] Adjust the names (script, sample folder, generator) to lang option
11 lines
384 B
Batchfile
Executable File
11 lines
384 B
Batchfile
Executable File
set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
|
|
|
|
If Not Exist %executable% (
|
|
mvn clean package
|
|
)
|
|
|
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
|
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g php-slim -o samples\server\petstore\php-slim
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|