scs-multiapi-plugin
scs-multiapi-plugin copied to clipboard
Issue in tests: duplicated method "defaultValue" in testComplexAnyOf
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".
Thank you for collaborating with the project by giving us feedback! Cheers!
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.