If swagger is used to generate api docs, add unique operationId
parameter to your @Operation
annotation in endpoint definition.
It helped me to solve similar isssue: (ValidationError) Operation with the same method and URL template already exists