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
When the info->description property is defined for a field of a DTO and the field is of type Enum<T> (or any specification like ::AsString) then the description is not shown in the generated swagger documentation.
This example
DTO_FIELD_INFO(color) {
info->description = "Color the object is displayed with";
}
DTO_FIELD(Enum<Color>::AsString , color);
results in this swagger documentation:
Color_String string
Enum:[ red, green, blue ]
The expected output would be something like this:
Color the object is displayed with
Color_String string
Enum:[ red, green, blue ]
The text was updated successfully, but these errors were encountered:
When the
info->description
property is defined for a field of a DTO and the field is of typeEnum<T>
(or any specification like::AsString
) then the description is not shown in the generated swagger documentation.This example
results in this swagger documentation:
The expected output would be something like this:
The text was updated successfully, but these errors were encountered: