What Camel version do you use? On Wed, Jul 7, 2021 at 2:34 PM <[email protected]> wrote: > > > 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
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
