Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better support for customizing SwaggerUI #240

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Conversation

cguyonnet
Copy link
Contributor

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 cguyonnet marked this pull request as ready for review October 17, 2022 10:44
@Burgyn
Copy link
Owner

Burgyn commented Oct 19, 2022

Hi @cguyonnet,

thanks for your PR. Your implementation is clean and correct. Unfortunately, it is a breaking change. I have to release this as a major change. It will be release in a few minutes as 6.0.0.

@Burgyn Burgyn merged commit 6a4f23a into Burgyn:master Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants