SMillerDev/phpdraft

Request Attributes defined as a type should link to the structure

Closed this issue · 0 comments

https://apiblueprint.org/documentation/specification.html#def-attributes-section
The Attributes section can be defined by just defining its type in between parenthesis such as Attribute (User) instead of having to list again all the individual fields of an User.

Phpdraft correctly shows in the output the Body section with example values, however the Structure section is showing an empty {}. This should be a link to the User structure.