lburgazzoli edited a comment on issue #843: service and route not created when 
using --open-api parameter
URL: https://github.com/apache/camel-k/issues/843#issuecomment-513450941
 
 
   I did run the `greetings` integration with the latest code with the 
following command:
   
   ```
   kamel run \
       --dev \
       --name greetings \
       --dependency camel-undertow \
       --dependency camel:rest \
       --dependency mvn:org.apache.camel.k/camel-k-loader-xml \
       --property camel.rest.port=8080 \
       --open-api examples/greetings-api.json \
       --logging-level org.apache.camel.k=DEBUG \
       examples/greetings.groovy 
   ```
   
   And what I have on minishift is:
   
   
![image](https://user-images.githubusercontent.com/1868933/61576687-5447d980-aadd-11e9-8918-9d9ea266ced8.png)
   
   There is an [issue](https://github.com/apache/camel-k/issues/839) that 
prevents the generated Rest DSL to be taken into account by the source analyzer 
so the following two dependencies are needed:
   
   ```
       --dependency camel:rest \
       --dependency mvn:org.apache.camel.k/camel-k-loader-xml \
   ```
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to