Showing results for 
Search instead for 
Did you mean: 

Generate all c# (csharp) Code in one File

Occasional Visitor

Generate all c# (csharp) Code in one File

We used to generate our C# Clients - for testing purposes with Unchase OpenApi, a Visual Studio Plugin.


To make sure the generation of new Client is not forgotten I want to include the client Generation during build.


I use openapitools/openapi-generator-cli in docker. And can create th Folderm structure with slbn file etc.


With Unchase there was one csharp file generated including the client and all classes like ApiExeptions or Models.

Having one file is a must in our scenario.


Is that possible with the CLI, if so, how can I configure it?

New Here?
Join us and watch the welcome video: