File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/Atc.Rest.ApiGenerator.CLI Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -149,10 +149,7 @@ private static void ApplyGeneratorOverrides(
149
149
apiOptions . Generator . Response . UseProblemDetailsAsDefaultBody = serverCommandSettings . UseProblemDetailsAsDefaultResponseBody ;
150
150
}
151
151
152
- if ( serverCommandSettings . ProjectPrefixName is not null )
153
- {
154
- apiOptions . Generator . ProjectName = serverCommandSettings . ProjectPrefixName ;
155
- }
152
+ apiOptions . Generator . ProjectName = serverCommandSettings . ProjectPrefixName ;
156
153
157
154
if ( serverCommandSettings . EndpointsLocation is not null &&
158
155
serverCommandSettings . EndpointsLocation . IsSet )
@@ -215,10 +212,7 @@ private static void ApplyGeneratorOverrides(
215
212
apiOptions . Generator . Response . UseProblemDetailsAsDefaultBody = clientApiCommandSettings . UseProblemDetailsAsDefaultResponseBody ;
216
213
}
217
214
218
- if ( clientApiCommandSettings . ProjectPrefixName is not null )
219
- {
220
- apiOptions . Generator . ProjectName = clientApiCommandSettings . ProjectPrefixName ;
221
- }
215
+ apiOptions . Generator . ProjectName = clientApiCommandSettings . ProjectPrefixName ;
222
216
223
217
if ( clientApiCommandSettings . RemoveNamespaceGroupSeparatorInGlobalUsings )
224
218
{
You can’t perform that action at this time.
0 commit comments