You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/21 07:48:00 UTC

[jira] [Resolved] (CAMEL-19364) Rest-openapi: lookup mechanism does not work after changes from Camel-18963

     [ https://issues.apache.org/jira/browse/CAMEL-19364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-19364.
---------------------------------
    Resolution: Fixed

> Rest-openapi: lookup mechanism does not work after changes from Camel-18963
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-19364
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19364
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rest-openapi
>    Affects Versions: 4.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Minor
>             Fix For: 4.0-RC1, 4.0
>
>
> I was trying to synchronize camel-quarkus with current Camel from `main` branch.
> I noticed failures related to fix [https://github.com/apache/camel/commit/e2ad230d86fcbbc1e3c4ad5a9daf01aa3127eb42] in the Camel-rest-openapi component.
> According to the doc, the url in component can be specified i.g. "classpath:...", "bean:...". At least these 2 options does not work.
> It can be verified by a simple test:
> {code:java}
>     @Test
>     public void testClasspath() throws Exception{
>         Producer p =   context().getEndpoint("rest-openapi:addPet?specificationUri=classpath:openapi.json").createProducer();
>         Assertions.assertNotNull(p);
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)