Generated JSON example is wrong for additional properties when KebabCaseNamingStrategy
was configured
#2559
Labels
help-wanted
A change up for grabs for contributions from the community
Hello, if you configure the service to use
KebabCaseNamingStrategy
like this:And have this DTO:
Abd has this controller:
Then the swagger generates this example payload:
This seems wrong to me because the example fields for
ExtraStuff
property should be written also in the Kebab-case naming style.So, I would expect to see here this example payload:
Is there any way to fix this issue?
If not, removing the "additionalProp1", "additionalProp2", and "additionalProp3" is also an option.
Thank you.
The text was updated successfully, but these errors were encountered: