mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-17 06:10:51 +00:00
This moves previous aspnet5 functionality to aspnetcore, aspnet5 now derives from the aspnetcore generator and logs a warning that it's deprecated. This will help resolve any confusion because ASP.NET 5 is terminology referring to the project of around a year ago. ASP.NET Core 1.0 is the new name for the technology, and further enhancements should target .NET Core 1.0 rather than any old vNext or preview stuff.
11 lines
379 B
Batchfile
Executable File
11 lines
379 B
Batchfile
Executable File
set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar
|
|
|
|
If Not Exist %executable% (
|
|
mvn clean package
|
|
)
|
|
|
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.json -l aspnetcore -o samples\server\petstore\aspnetcore\
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|