atiaomar1978-hub commented on PR #25202: URL: https://github.com/apache/camel/pull/25202#issuecomment-5148449331
_AI-generated comment on behalf of [atiaomar1978-hub](https://github.com/atiaomar1978-hub)_ Rebased onto latest `main` and verified locally. Branch tip: `3068b9ec0f7`. ### @gnodet review follow-ups (already in `3855e776`, rebased unchanged) | Item | Fix | |------|-----| | Duplicate Run configuration | `--openapi-ui` runtime keys use `addOverrideProperty` only; `camel.jbang.openapiUi` persisted via `writeSetting` | | Swagger UI version coupling | Version read from `META-INF/maven/org.webjars/swagger-ui/pom.properties`; Maven uses `${swagger-ui-version}` | | KameletMain REST overrides | `camel.rest.component` / `camel.rest.apiContextPath` applied only when not already configured | | HTML defense-in-depth | `OpenApiUiSupport.escapeForJavaScriptString()` before embedding `specPath` | | JBang metadata security | `PrepareCamelJBangMojo` emits `security` from `@Metadata` | | Explicit `--management-port` | `shouldPreserveExplicitManagementPortForOpenApiUi` test added | | Upgrade guide | 4.22 entry added | ### Tests (all passed locally) ```bash mvn test -pl components/camel-platform-http-main \ -Dtest=OpenApiUiHttpServerTest,OpenApiUiRestMainTest,OpenApiUiSupportTest mvn test -pl dsl/camel-jbang/camel-jbang-core -Dtest=RunOpenApiUiOptionsTest ``` Thanks for the approval — ready for merge once CI is green. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
