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(
149149 apiOptions . Generator . Response . UseProblemDetailsAsDefaultBody = serverCommandSettings . UseProblemDetailsAsDefaultResponseBody ;
150150 }
151151
152- if ( serverCommandSettings . ProjectPrefixName is not null )
153- {
154- apiOptions . Generator . ProjectName = serverCommandSettings . ProjectPrefixName ;
155- }
152+ apiOptions . Generator . ProjectName = serverCommandSettings . ProjectPrefixName ;
156153
157154 if ( serverCommandSettings . EndpointsLocation is not null &&
158155 serverCommandSettings . EndpointsLocation . IsSet )
@@ -215,10 +212,7 @@ private static void ApplyGeneratorOverrides(
215212 apiOptions . Generator . Response . UseProblemDetailsAsDefaultBody = clientApiCommandSettings . UseProblemDetailsAsDefaultResponseBody ;
216213 }
217214
218- if ( clientApiCommandSettings . ProjectPrefixName is not null )
219- {
220- apiOptions . Generator . ProjectName = clientApiCommandSettings . ProjectPrefixName ;
221- }
215+ apiOptions . Generator . ProjectName = clientApiCommandSettings . ProjectPrefixName ;
222216
223217 if ( clientApiCommandSettings . RemoveNamespaceGroupSeparatorInGlobalUsings )
224218 {
You can’t perform that action at this time.
0 commit comments