forked from loafle/openapi-generator-original
[C#][netcore] auto-generate appveyor.yml (#7212)
* auto-generate appveyor.yml * Update modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache Co-authored-by: Tatsuro Shibamura <me@shibayan.jp> * Update modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache Co-authored-by: Tatsuro Shibamura <me@shibayan.jp> * Update modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache Co-authored-by: Tatsuro Shibamura <me@shibayan.jp> * Update modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache Co-authored-by: Tatsuro Shibamura <me@shibayan.jp> * update samples Co-authored-by: Tatsuro Shibamura <me@shibayan.jp>
This commit is contained in:
parent
208106d179
commit
2b0c5819c0
@ -343,8 +343,6 @@ public class CSharpNetCoreClientCodegen extends AbstractCSharpCodegen {
|
||||
return "Generates a C# client library (.NET Standard, .NET Core).";
|
||||
}
|
||||
|
||||
// private void syncStringProperty(Map<String, Object> properties, String key)
|
||||
|
||||
public String getModelPropertyNaming() {
|
||||
return this.modelPropertyNaming;
|
||||
}
|
||||
@ -641,6 +639,8 @@ public class CSharpNetCoreClientCodegen extends AbstractCSharpCodegen {
|
||||
supportingFiles.add(new SupportingFile("netcore_testproject.mustache", testPackageFolder, testPackageName + ".csproj"));
|
||||
}
|
||||
|
||||
supportingFiles.add(new SupportingFile("appveyor.mustache", "", "appveyor.yml"));
|
||||
|
||||
additionalProperties.put("apiDocPath", apiDocPath);
|
||||
additionalProperties.put("modelDocPath", modelDocPath);
|
||||
}
|
||||
|
9
modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache
vendored
Normal file
9
modules/openapi-generator/src/main/resources/csharp-netcore/appveyor.mustache
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# auto-generated by OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator)
|
||||
#
|
||||
image: Visual Studio 2019
|
||||
clone_depth: 1
|
||||
build_script:
|
||||
- dotnet build -c Release
|
||||
- dotnet test -c Release
|
||||
after_build:
|
||||
- dotnet pack .\src\{{{packageName}}}\{{{packageName}}}.csproj -o ../../output -c Release --no-build
|
@ -1,6 +1,7 @@
|
||||
.gitignore
|
||||
Org.OpenAPITools.sln
|
||||
README.md
|
||||
appveyor.yml
|
||||
docs/AdditionalPropertiesClass.md
|
||||
docs/Animal.md
|
||||
docs/AnotherFakeApi.md
|
||||
|
@ -0,0 +1,9 @@
|
||||
# auto-generated by OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator)
|
||||
#
|
||||
image: Visual Studio 2019
|
||||
clone_depth: 1
|
||||
build_script:
|
||||
- dotnet build -c Release
|
||||
- dotnet test -c Release
|
||||
after_build:
|
||||
- dotnet pack .\src\Org.OpenAPITools\Org.OpenAPITools.csproj -o ../../output -c Release --no-build
|
@ -1,6 +1,7 @@
|
||||
.gitignore
|
||||
Org.OpenAPITools.sln
|
||||
README.md
|
||||
appveyor.yml
|
||||
docs/AdditionalPropertiesClass.md
|
||||
docs/Animal.md
|
||||
docs/AnotherFakeApi.md
|
||||
|
@ -0,0 +1,9 @@
|
||||
# auto-generated by OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator)
|
||||
#
|
||||
image: Visual Studio 2019
|
||||
clone_depth: 1
|
||||
build_script:
|
||||
- dotnet build -c Release
|
||||
- dotnet test -c Release
|
||||
after_build:
|
||||
- dotnet pack .\src\Org.OpenAPITools\Org.OpenAPITools.csproj -o ../../output -c Release --no-build
|
Loading…
x
Reference in New Issue
Block a user