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 2024/10/31 15:26:00 UTC
[jira] [Created] (CAMEL-21411) camel-openapi-rest - Should default load specification from classpath
Claus Ibsen created CAMEL-21411:
-----------------------------------
Summary: camel-openapi-rest - Should default load specification from classpath
Key: CAMEL-21411
URL: https://issues.apache.org/jira/browse/CAMEL-21411
Project: Camel
Issue Type: Improvement
Components: camel-rest-openapi
Reporter: Claus Ibsen
Fix For: 4.9.0
Both when using camel-jbang and for CSB/CEQ etc
{code:java}
- rest:
openApi:
specification: orders.json {code}
You need to use classpath to make it work
{code:java}
- rest: openApi: specification: classpath:orders.json {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)