Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflowError when using @ParameterObject on groovy class #2426

Closed
ramilS opened this issue Nov 13, 2023 · 0 comments
Closed

StackOverflowError when using @ParameterObject on groovy class #2426

ramilS opened this issue Nov 13, 2023 · 0 comments

Comments

@ramilS
Copy link

ramilS commented Nov 13, 2023

Steps to reproduce the behavior:

edit this CarController and run test for it

package test.org.springdoc.api.app2

@RestController
class CarController {

	test.org.springdoc.api.app2.CarService carService

	CarController(test.org.springdoc.api.app2.CarService carService) {
		this.carService = carService
	}

	@GetMapping(path = '/cars')
	List<test.org.springdoc.api.app2.Car> getCars(@ParameterObject CarsFilter filter) {
		return carService.getCars()
	}

	static class CarsFilter {
		String name
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant