Closed sholmp closed 3 years ago
Hey @sholmp ,
Please post your DTO
declaration code.
I assume you just missed to inherit fields.
class MyChildDto : public MyParentDto {
DTO_INIT(MyChildDto, MyParentDto /* Extends */) //<---- Don't miss this
}
Yep you are right. I did exactly what you mentioned: inherited but did not DTO_INIT correctly... :smile:
:) Ok, closing this issue then
When a DTO inherits from a parent DTO, the inherited fields are not visible in the generated swagger schema documentation. Is this intentional?