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

[REQUEST] Add support for deep_linking #750

Open
3 tasks done
DiannaTz opened this issue May 10, 2024 · 1 comment
Open
3 tasks done

[REQUEST] Add support for deep_linking #750

DiannaTz opened this issue May 10, 2024 · 1 comment

Comments

@DiannaTz
Copy link

DiannaTz commented May 10, 2024

Is your feature request related to a problem? Please describe.

Swagger UI supports a 'deepLinking=true' configuration parameter. However, this option is not configurable within this gem, and the default value set by Swagger is 'false'. I would greatly appreciate having the ability to utilize this configuration.

Describe the solution you'd like

A nice-to-have solution would be to simply add the following code to config/initializers/rswag_ui.rb

Rswag::Ui.configure do |c|
  c.deep_linking = true
end

What support could we give you, so you could implement this yourself?

Just let me know if this request is ok with you and I will try to do it by myself.

Describe alternatives you've considered

Don't have at the moment any other alternatives. I did not get the change to look over the entire code and find other potential solutions.

Additional context

N/A

Relates to which version of OAS (OpenAPI Specification)

  • OAS2
  • OAS3
  • OAS3.1
@elthariel
Copy link

That doesn't seem like a huge change ? Can't you send a PR ? :)

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

No branches or pull requests

2 participants