You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/08 07:42:05 UTC

[GitHub] [camel-karavan] davsclaus opened a new issue, #293: openapi example

davsclaus opened a new issue, #293:
URL: https://github.com/apache/camel-karavan/issues/293

   We should see if we can build something similar to Brunos blog post
   https://quarkus.io/blog/camel-quarkus-effortless-apis/
   
   This requires that we get the openapi maven plugin integrated with camel-jbang or something so karavan can use, or that we run the tool as part of running camel-jbang, meaning that karavan can "know this in advance".
   
   Karvan can then have a wizard to import the openapi json spec file, and then you can design the Camel routes what should happen when these rest endpoints are invoked.
   
   To run the app then camel-jbang can automatic load the same openapi json spec file, and based on that generate the needed camel route snippets that link the openapi spec to the camel routes via the direct:xxx naming pattern.


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] mgubaidullin commented on issue #293: openapi example

Posted by GitBox <gi...@apache.org>.
mgubaidullin commented on issue #293:
URL: https://github.com/apache/camel-karavan/issues/293#issuecomment-1094057808

   Is there a way to call maven command from JBang without installing maven on a machine? Or we need to create specially JBang staff? 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] mgubaidullin closed issue #293: openapi example

Posted by GitBox <gi...@apache.org>.
mgubaidullin closed issue #293: openapi example
URL: https://github.com/apache/camel-karavan/issues/293


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] davsclaus commented on issue #293: openapi example

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #293:
URL: https://github.com/apache/camel-karavan/issues/293#issuecomment-1135788645

   https://github.com/apache/camel-karavan/tree/main/karavan-demo/openapi
   
   There is an generate rest command now


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] davsclaus commented on issue #293: openapi example

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #293:
URL: https://github.com/apache/camel-karavan/issues/293#issuecomment-1115971984

   We can start making the example - we have the generate rest command in jbang now. 
   
   In the near future we can potentially add a flag to camel run, so you can use --openapi to refer to the spec file, and then we call the generate goal automatic as part of the run action.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org