Hi guys,
I found that there is an apiHost option for REST DSL, the documentation states 
that it "can be used to override the generated host with this configured 
hostname" - 
https://camel.apache.org/manual/latest/rest-dsl.html#_configuring_rest_dsl
So I tried to use it like
<restConfiguration component="jetty" scheme="http" apiHost="mycompany.com " 
host="localhost" port="8088" contextPath="/foo" apiContextPath="api-doc"/>

My intention was to get "mycompany.com" in swagger docs instead of "localhost", 
but it is not working this way, "localhost:8088" is still there. Please tell me 
where I am wrong?

Best regards,
Grigorii Ivanov

Reply via email to