Skip to content

CSharpGeneratorBaseSettings

Milan Jaroš edited this page Feb 5, 2020 · 2 revisions

Inherits ClientGeneratorBaseSettings

Properties:

  • CSharpGeneratorSettings: The C# DTO class generator settings (implemented in NJsonSchema)
    • Namespace: The namespace of the client and DTO classes
  • AdditionalNamespaceUsages: The additional namespace usages.
  • AdditionalContractNamespaceUsages: The additional contract namespace usages.
  • ResponseArrayType: The generic array .NET type of operation responses (default: 'System.Collections.Generic.ICollection').
  • ResponseDictionaryType: The generic dictionary .NET type of operation responses (default: 'System.Collections.Generic.IDictionary').
  • ParameterArrayType: The generic array .NET type of operation parameters (default: 'System.Collections.Generic.IEnumerable').
  • ParameterDictionaryType: The generic dictionary .NET type of operation parameters (default: 'System.Collections.Generic.IDictionary').