-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAutoSDK.SourceGenerators.props
97 lines (86 loc) · 5.28 KB
/
AutoSDK.SourceGenerators.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<Project>
<PropertyGroup>
<WarningsAsErrors>$(WarningsAsErrors);OAG001</WarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<!-- Used as default namespace name if AutoSDK_Namespace is not specified -->
<CompilerVisibleProperty Include="AssemblyName"/>
<CompilerVisibleProperty Include="PackageId"/>
<!-- Used as default TargetFramework if AutoSDK_TargetFramework is not specified -->
<CompilerVisibleProperty Include="TargetFramework"/>
<!-- Namespace. Default: $(TargetFramework) or "netstandard2.0" -->
<CompilerVisibleProperty Include="AutoSDK_TargetFramework"/>
<!-- Namespace. Default: $(PackageId) or $(AssemblyName) or "AutoSDK" -->
<CompilerVisibleProperty Include="AutoSDK_Namespace"/>
<!-- Namespace. Default: $(PackageId)Api or $(AssemblyName)Api or "Api" -->
<CompilerVisibleProperty Include="AutoSDK_ClassName"/>
<!-- Prefix for enums which start with a number to make them CLS compliant. Default: "x". Pass empty string to disable prefixing(it will be non-CLS compliant '_') -->
<CompilerVisibleProperty Include="AutoSDK_ClsCompliantEnumPrefix"/>
<!-- InnerClasses/ConcatNames. Default: InnerClasses -->
<CompilerVisibleProperty Include="AutoSDK_NamingConvention"/>
<!-- SystemTextJson/NewtonsoftJson. Default: SystemTextJson -->
<CompilerVisibleProperty Include="AutoSDK_JsonSerializerType"/>
<!-- InSupportedTargetFrameworks/Never/Always. Default: InSupportedTargetFrameworks -->
<CompilerVisibleProperty Include="AutoSDK_UseRequiredKeyword"/>
<!-- InSupportedTargetFrameworks/Never/Always. Default: InSupportedTargetFrameworks -->
<CompilerVisibleProperty Include="AutoSDK_UseExperimentalAttributes"/>
<!-- InSupportedTargetFrameworks/Never/Always. Default: InSupportedTargetFrameworks -->
<CompilerVisibleProperty Include="AutoSDK_UseSetsRequiredMembersAttributes"/>
<!-- Methods generation -->
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GenerateConstructors"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GroupByTags"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GenerateMethods"/>
<!-- SimpleOperationId/MethodAndPath/OperationIdWithDots. Default: SimpleOperationId -->
<CompilerVisibleProperty Include="AutoSDK_MethodNamingConvention"/>
<!-- SimpleOperationId/MethodAndPath/OperationIdWithDots. Default: MethodAndPath -->
<CompilerVisibleProperty Include="AutoSDK_MethodNamingConventionFallback"/>
<!-- true/false. Default: false. Not Implemented. -->
<CompilerVisibleProperty Include="AutoSDK_GenerateMethodsAsHttpClientExtensions"/>
<!-- true/false. Default: false. Not Implemented. -->
<CompilerVisibleProperty Include="AutoSDK_GenerateMethodsUsingSystemNetHttpJson"/>
<!-- List of ids separated by ;. Default: Empty(all models) -->
<CompilerVisibleProperty Include="AutoSDK_IncludeOperationIds"/>
<!-- List of ids separated by ;. Default: Empty -->
<CompilerVisibleProperty Include="AutoSDK_ExcludeOperationIds"/>
<!-- List of ids separated by ;. Default: Empty(all models) -->
<CompilerVisibleProperty Include="AutoSDK_IncludeTags"/>
<!-- List of ids separated by ;. Default: Empty -->
<CompilerVisibleProperty Include="AutoSDK_ExcludeTags"/>
<!-- Full name with namespace of JsonSerializerContext to enable trimming support for System.Text.Json. Default: Empty -->
<CompilerVisibleProperty Include="AutoSDK_JsonSerializerContext"/>
<!-- Allow you to specify only one type for JsonSerializerContext to enable trimming support for System.Text.Json. true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GenerateJsonSerializerContextTypes"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_ComputeDiscriminators"/>
<!-- Models generation -->
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GenerateModels"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_GenerateModelValidationMethods"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_ValidateAnyOfs"/>
<!-- Class/Record/ReadonlyRecordStruct. Default: Class -->
<CompilerVisibleProperty Include="AutoSDK_ModelStyle"/>
<!-- List of ids separated by ;. Default: Empty(all models) -->
<CompilerVisibleProperty Include="AutoSDK_IncludeModels"/>
<!-- List of ids separated by ;. Default: Empty -->
<CompilerVisibleProperty Include="AutoSDK_ExcludeModels"/>
<!-- true/false. Default: false -->
<CompilerVisibleProperty Include="AutoSDK_IgnoreOpenApiErrors"/>
<!-- true/false. Default: true -->
<CompilerVisibleProperty Include="AutoSDK_IgnoreOpenApiWarnings"/>
<!-- true/false. Default: true -->
<CompilerVisibleProperty Include="AutoSDK_GeneratePolyfills"/>
<!-- true/false. Default: true -->
<CompilerVisibleProperty Include="AutoSDK_GenerateExceptions"/>
<!-- Generates full sdk(all methods/models) -->
<!-- true/false. Default: true -->
<CompilerVisibleProperty Include="AutoSDK_GenerateSdk"/>
</ItemGroup>
<ItemGroup>
<CompilerVisibleItemMetadata Include="AdditionalFiles" MetadataName="AutoSDK_OpenApiSpecification" />
</ItemGroup>
</Project>