-
Notifications
You must be signed in to change notification settings - Fork 7
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
Swagger UI for Camel routes #162
Comments
After some investigation this remains as something that could not be done or I did not find the right solution. By adding code similar to the following one in CamelRouteSender/Receiver we can obtain a JSON representation(plain JSON not swagger ui) of the route at https://localhost:8443/camel/swagger-ui/index.html: restConfiguration()
As you can see that is a new camel REST route that we could maybe modify for our needs but not for the existing FROM/TO routes. The main issue is that openapi and swagger are designed for REST and as such do not support the other "format". A proposition that could maybe fix this but that would require a lot of time is a refactor of the routes where instead of from/to we would use REST but split per message e.g. DescriptionRequestRoute, ArtifactRequestRoute... that could again merge into existing .to("direct:http"). |
Investigate how to add swagger UI for Camel routes
Check if API endpoints Swagger is available, do we have covered all interfaces with swagger description/UI)
Update documentation accordingly
The text was updated successfully, but these errors were encountered: