Skip to content

[#14] Added support to make swagger operable across multiple reverse proxies and different paths#15

Merged
ravidesai47 merged 3 commits into
masterfrom
feature/dynamic-context-path
Jan 25, 2026
Merged

[#14] Added support to make swagger operable across multiple reverse proxies and different paths#15
ravidesai47 merged 3 commits into
masterfrom
feature/dynamic-context-path

Conversation

@ravidesai47

Copy link
Copy Markdown
Contributor

Refactored Swagger integration to support dynamic context path and asset loading

  • Updated SwaggerBundle to remove unnecessary parameters and improve configuration handling.
  • Simplified SwaggerResource by eliminating contextRoot and urlPattern parameters.
  • Enhanced SwaggerView to dynamically calculate contextPath and swaggerAssetsPath based on the browser URL.
  • Modified index.ftl and customIndex.ftl to use dynamic asset loading for improved flexibility in different deployment environments.

Closes #14

…d asset loading

- Updated SwaggerBundle to remove unnecessary parameters and improve configuration handling.
- Simplified SwaggerResource by eliminating contextRoot and urlPattern parameters.
- Enhanced SwaggerView to dynamically calculate contextPath and swaggerAssetsPath based on the browser URL.
- Modified index.ftl and customIndex.ftl to use dynamic asset loading for improved flexibility in different deployment environments.
- Incremented version of dropwizard-swagger-parent and related modules to 2.1.12-3.
- Added .vscode to .gitignore to exclude Visual Studio Code settings from version control.
@ravidesai47 ravidesai47 force-pushed the feature/dynamic-context-path branch from 486502d to c071427 Compare January 25, 2026 10:51
@ravidesai47 ravidesai47 merged commit edf4f03 into master Jan 25, 2026
1 check passed
@ravidesai47 ravidesai47 deleted the feature/dynamic-context-path branch January 25, 2026 10:56
@ravidesai47 ravidesai47 changed the title [#14] Added support to make swagger operable across multiple reverse proxies and different paths #14 Added support to make swagger operable across multiple reverse proxies and different paths Jan 25, 2026
@ravidesai47 ravidesai47 changed the title #14 Added support to make swagger operable across multiple reverse proxies and different paths [#14] Added support to make swagger operable across multiple reverse proxies and different paths Jan 25, 2026
ravidesai47 added a commit that referenced this pull request Jan 25, 2026
…-feature-dw-5

[#14] Add support mentioned over Issue #14 and PR #15 to DW 5.x branch master-5.x.x
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.

Support to make swagger operable across multiple reverse proxies and different paths

1 participant