A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23
stars
7
forks
source link
Diagram behavior for types, `include` vs `includeAll` #96
The diagram generator has a discrepancy between the behavior of /include and /includeAll.
/include includes basic types: enumerations, structures
/includeAll omits those same basic types.
We have a diagram specification that draws three separate diagrams. Using the same diagrams.reslang file, and changing between /include and /includeAll, the basic types either appear or disappear.
I would expect the logic to be consistent on this point. The basic types can be listed explicitly in the /exclude section, and the generator omits the items accordingly. That leads me to believe the /includeAll probably should include the basic types but has a defect.
The diagram generator has a discrepancy between the behavior of
/include
and/includeAll
./include
includes basic types: enumerations, structures/includeAll
omits those same basic types.We have a diagram specification that draws three separate diagrams. Using the same
diagrams.reslang
file, and changing between/include
and/includeAll
, the basic types either appear or disappear.I would expect the logic to be consistent on this point. The basic types can be listed explicitly in the
/exclude
section, and the generator omits the items accordingly. That leads me to believe the/includeAll
probably should include the basic types but has a defect.