You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated swagger for a controller taking a pojo parameter with a name like "aProperty" will not be correctly generated.
The aProperty field will be missing.
This is due to this code in MethodParameterPojoExtractor :
d.getName() is "AProperty", but field.getName() is "aProperty".
The property is filtered out.
This happens for any field having its first camel case part of length 1.
Which seems to be an edge case of the java beans specification.
(see Introspector.decapitalize())
The text was updated successfully, but these errors were encountered:
The generated swagger for a controller taking a pojo parameter with a name like "aProperty" will not be correctly generated.
The aProperty field will be missing.
This is due to this code in MethodParameterPojoExtractor :
d.getName()
is "AProperty", butfield.getName()
is "aProperty".The property is filtered out.
This happens for any field having its first camel case part of length 1.
Which seems to be an edge case of the java beans specification.
(see
Introspector.decapitalize()
)The text was updated successfully, but these errors were encountered: