openapi-generator/bin/openapi3/windows/run-all-petstore.cmd
William Cheng b64864f47d
Fix float/double default value in C# generator (#791)
* fix float/double default value

* better code format

* better CI for openapi3 batch files (C# client)

* update nancyfx samples

* pipe output to /dev/null to reduce log size

* fix windows batch file

* add C# API client generated by OAS3 spec
2018-08-13 13:28:22 +08:00

16 lines
566 B
Batchfile

REM this batch file will loop through all the .bat files under bin\openapi3\windows\
REM execute the script and check the error level to see if there's any error
echo IMPORTANT: this script should be run by the CI (e.g. appveyor) only. There's no need to run this script to update Petstore samples for all generators.
echo Please press CTRL+C to stop or the script will continue in 10 seconds.
timeout 10
for /f "delims=" %%i in ('dir /b ".\bin\openapi3\windows\*.bat"') do (
CALL .\bin\openapi3\windows\%%i
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 exit /b 1
)