Created by: lucafuji
This PR fixes #8986 (closed) That issue describes that when we have an in64, float, or double CodegenParameter, the string defaultValue includes unneeded suffix characters l,f, or d. Those suffixes were added by AbstractJavaCodegen because that generator assumed that those default values would be used as java values of the correct type. Instead, the spring generator uses String type default values for CodegenParameter only. Typically those values are handled with parseLong/parseFloat/parseDouble etc which fail if the value includes a character suffix.
we now use values which lack the suffix so parseLong/parseDouble/parseFloat will work CodegenParameter defaultValues:
"21474836487" (int64) "3.14159" (float) "3.14159" (double)
Verification Test A test has been added at https://github.com/OpenAPITools/openapi-generator/pull/8988/files#diff-ecbab4cf643943739b9ce7e56d73b1b391b4ce6d09310326e8ea9d023da164b8R41