jamesnetherton commented on issue #8229: URL: https://github.com/apache/camel-quarkus/issues/8229#issuecomment-3823376937
The reason for this is that for the REST OpenApi consumer, it sets a method parameter `api` to `true`here: https://github.com/apache/camel/blob/main/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpComponent.java#L121-L128 Which forces `matchOnUriPrefix` here: https://github.com/apache/camel/blob/main/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpComponent.java#L306-L308 Meaning the path registered on the Vert.x HTTP route is like `/dummy*`. @davsclaus can probably explain how the contract first stuff works. But I assume it does not register paths exactly as defined in the spec file. But instead figures out the API base path and simply appends a wildcard to it. -- 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]
