mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
NancyFx:
- Added generation of .nuspec file
This commit is contained in:
parent
1d167b709d
commit
ba26df95e2
@ -98,6 +98,7 @@ public class NancyFXServerCodegen extends AbstractCSharpCodegen {
|
||||
|
||||
supportingFiles.add(new SupportingFile("parameters.mustache", sourceFile("Utils"), "Parameters.cs"));
|
||||
supportingFiles.add(new SupportingFile("packages.config.mustache", sourceFolder(), "packages.config"));
|
||||
supportingFiles.add(new SupportingFile("nuspec.mustache", sourceFolder(), packageName + ".nuspec"));
|
||||
|
||||
if (optionalProjectFileFlag) {
|
||||
supportingFiles.add(new SupportingFile("Solution.mustache", "", packageName + ".sln"));
|
||||
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>{{packageName}}</id>
|
||||
<title>{{packageName}}</title>
|
||||
<version>{{{version}}}</version>
|
||||
<authors>swagger-codegen</authors>
|
||||
<owners>swagger-codegen</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>NancyFx {{packageName}} API</description>
|
||||
</metadata>
|
||||
</package>
|
Loading…
Reference in New Issue
Block a user