Fixed issue UseSwagger() .UseSwaggerUI() Can't be used with. UseSwaggerForOcelotUI(). They are cover each other.