File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Atc.Rest.ApiGenerator.CLI Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,13 @@ private static void ApplyGeneratorOverrides(
132
132
{
133
133
if ( settings is BaseServerCommandSettings serverCommandSettings )
134
134
{
135
- if ( serverCommandSettings . AspNetOutputType . IsSet ||
135
+ if ( serverCommandSettings . AspNetOutputType . IsSet &&
136
136
serverCommandSettings . AspNetOutputType . Value != apiOptions . Generator . AspNetOutputType )
137
137
{
138
138
apiOptions . Generator . AspNetOutputType = serverCommandSettings . AspNetOutputType . Value ;
139
139
}
140
140
141
- if ( serverCommandSettings . SwaggerThemeMode . IsSet ||
141
+ if ( serverCommandSettings . SwaggerThemeMode . IsSet &&
142
142
serverCommandSettings . SwaggerThemeMode . Value != apiOptions . Generator . SwaggerThemeMode )
143
143
{
144
144
apiOptions . Generator . SwaggerThemeMode = serverCommandSettings . SwaggerThemeMode . Value ;
You can’t perform that action at this time.
0 commit comments