MMLib.SwaggerForOcelot icon indicating copy to clipboard operation
MMLib.SwaggerForOcelot copied to clipboard

Add better support for customizing SwaggerUI

Open cguyonnet opened this issue 2 years ago • 0 comments

I wanted to define some ResponseInterceptor for SwaggerUI but it looked like these options were never actually set (cf. BuilderExtensions:InitUIOption()).

This PR aims at providing better control over SwaggerUI options by:

  • decoupling SwaggerForOcelotUIOptions and SwaggerUIOptions
  • adding a parameter to UseSwaggerForOcelotUI() to customize SwaggerUI

cguyonnet avatar Oct 17 '22 10:10 cguyonnet