scs-multiapi-plugin icon indicating copy to clipboard operation
scs-multiapi-plugin copied to clipboard

Issue in tests: duplicated method "defaultValue" in testComplexAnyOf

Open rafaelgonzalezsimon opened this issue 1 year ago • 2 comments

It was detected in testComplexAnyOf . The object definition "enumField" has "defaultValue" and "defaultValues" parameters and this creates duplicate method defaultValue, one for the defaultValues builder and the other for the defaultValue parameter.

It can be fixed by removing the parameter "defaultValue" from "enumFiled".

rafaelgonzalezsimon avatar Feb 06 '24 11:02 rafaelgonzalezsimon

Thank you for collaborating with the project by giving us feedback! Cheers!

github-actions[bot] avatar Feb 06 '24 11:02 github-actions[bot]

Hi, That is not an issue that defaultValues is a List so Builder we generate will contain a method for a defaultValues(List and a defaultValue to add a single element to the list. In that example, the file was right but the builder generate a controversial one, since is a legal one but not a valid one.

jemacineiras avatar Feb 09 '24 22:02 jemacineiras