I would suggest you to start a discussion via https://github.com/swagger-api/swagger-codegen/issues/new so that the swagger codegen community can help you out.
Please also find a list of options to customize the C# API client: java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l csharp b於 2017年3月8日星期三 UTC+8上午6時20分11秒寫道: > > Hello! > > I am using Swagger codegen to generate multiple REST API SDK's in C#. We > have multiple sets of endpoints (different sets of swagger documentation) > and we would like to avoid generating duplicate code. For example the > 'Client' namespace (with ApiResponse, and other core functionality) is > generated in several locations, and is causing issues. > > Is there any possibility of generating the code to reference a central > location or namespace for 'Client' code? > > We are thinking about iterating through the generated files and replacing > namespaces, but would rather not do that if there is a more robust option. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
