You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2021/09/06 11:47:00 UTC

[jira] [Commented] (CAMEL-16793) apiHost option in REST DSL is ignored

    [ https://issues.apache.org/jira/browse/CAMEL-16793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410555#comment-17410555 ] 

James Netherton commented on CAMEL-16793:
-----------------------------------------

I just stumbled across the same problem. X-Forwarded-* headers are typically only relevant to requests coming from behind a proxy or load balancer. They are not guaranteed to be present.

I'll see if I can figure out why the host API property is lost.

> apiHost option in REST DSL is ignored
> -------------------------------------
>
>                 Key: CAMEL-16793
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16793
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-openapi-java, camel-swagger-java
>    Affects Versions: 2.25.3, 3.11.0
>            Reporter: Grigorii Ivanov
>            Priority: Major
>             Fix For: 3.12.0
>
>
> From documentation - https://camel.apache.org/manual/latest/rest-dsl.html#_configuring_rest_dsl
> |apiHost|-|Specific hostname for the API documentation (eg swagger)
> This can be used to override the generated host with this configured hostname|
> In fact the option's value gets lost with both camel-swagger and camel-oneapi components, see also [camel mailing list|https://lists.apache.org/thread.html/rc002471d17e51a902d9eca062f2336b71403486753fe5173bb62f43c@%3Cusers.camel.apache.org%3E]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)