Describe the bug
If Func<> is used in param inside controller with Route Attribute of Controller, the CPU usage goes high. Seems like it stuck in infinite loop.
To Reproduce
SampleCPUTest.zip
Expected behavior
Should run normally
Screenshots
Stack trace
Desktop (please complete the following information):
- Zalando OpenAPI Editor version:
- IDEA version:
- Java version:
- Operating System & version: Windows 10 using Visual Studio 2022 Version 17.11.0
I have attached a bare-bone sample project.