ex324 opened a new pull request #5362: URL: https://github.com/apache/camel/pull/5362
CAMEL-16502: This pull request add an optional basepath parameter to allow developers override the basepath evaluated from the first server entry in the openapi document. Behaviour: - If the basepath parameter is not set, the restdsl-generator behaves like before. - In case the basepath parameter is set (e.g. in the according maven plugin mojos) it takes precedence over the basepath from the server entry. Changes: - The logic is implemented in a new method in the RestDslGenerator. - Generators extended from the base RestDslGenerator are changed to call the new method. - Maven plugins using the RestDslGenerator are extended to set the parameter if set in the plugin config. - The documentation for the maven plugins is updated with the new parameter. - Unit tests are extended with checks for the new method. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
