-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ClientGeneratorBaseSettings
Rico Suter edited this page Sep 12, 2016
·
18 revisions
- Package: NSwag.CodeGeneration
- Base settings for:
- Class:: ClientGeneratorBaseSettings.cs
Properties
- ClassName
-
OperationGenerationMode: Defines how to generate operation IDs
- MultipleClientsFromOperationId (default): Multiple clients from the Swagger operation ID in the form '{controller}_{action}'.
- MultipleClientsFromPathSegments: From path segments (operation name = last segment, client name = second to last segment).
- SingleClientFromOperationId: From the Swagger operation ID.
- GenerateDtoTypes
- GenerateClientInterfaces
- GenerateClientClasses