Skip to content

StackOverflowError when using @ParameterObject on groovy class #2426

Closed
@ramilS

Description

@ramilS

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
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions