Skip to content

High CPU Usage all the time for certain conditions #462

@xmenxwk

Description

@xmenxwk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions