forked from loafle/openapi-generator-original
* Reverted path changes. Removed additional files in php petstore-security-test folder. Generated new samples. * Batch and Shell scripts modified to use the same specification files for sample generation. Sample files generated. * Input file path in PHP client batch file equalized with the input path in the shell script file. Samples generated. * Added a missing bracket in the PHP client mustache template. * AbstractPhpCodegen apiDocPath and modelDocPath creation adjusted to always use slash instead of system seperator, since the values will just be used in Markdown files. * Unnecessary samples removed. * Fixed unnecessary diversions between Windows and Linux/Mac paths in PHP codegen. * New samples generated after rebase. * Fixed a sample in TypeScript Angular v2 which caused CI to break.
11 lines
392 B
Batchfile
Executable File
11 lines
392 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 -o samples\client\petstore\php\OpenAPIClient-php
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|