[
https://issues.apache.org/jira/browse/CAMEL-16665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-16665:
--------------------------------
Priority: Minor (was: Major)
> StackOverflow loading long route definitions
> --------------------------------------------
>
> Key: CAMEL-16665
> URL: https://issues.apache.org/jira/browse/CAMEL-16665
> Project: Camel
> Issue Type: Bug
> Reporter: Ruben Romero Montes
> Priority: Minor
> Attachments: nohup.out
>
>
> When using the camel-restdsl-openapi-plugin with a rather long and complex
> api like this one:
> [BIAN_CustomerOffer|https://raw.githubusercontent.com/bian-official/public/main/release9.1/semantic-apis/swaggers/CustomerOffer.json]
> The generated routeBuilder class contains one `rest()` method including all
> the route definitions. This one has over 40 endpoints and the build is
> causing a StackOverflow error.
> When splitting the route definitions into multiple files or just `rest()`
> calls, the problem is gone.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)