You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/07/20 09:04:28 UTC
[GitHub] [camel-k] lburgazzoli commented on issue #843: service and route
not created when using --open-api parameter
lburgazzoli commented 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` 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:

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:
users@infra.apache.org
With regards,
Apache Git Services