LiveRamp / reslang

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

"output" modifier respected for structure members #146

Open ChristianHansen opened 3 years ago

ChristianHansen commented 3 years ago

Describe your request It would be great if the output modifier were respected for members of structures. For example, at https://github.com/LiveRamp/api-specs/pull/317/commits/1962b6651809ad8a54ef2080926f6c8bb792be69#diff-9942bbda67953cfa58e0b3b375485e249e726f7dc54ed0fe48aebfa3e2ec67fcR266 I added the optional modified to a structure member already flagged with output so that the member wouldn't be required.

Describe the value this feature would provide This makes it easier to differentiate between what a caller should or shouldn't POST, PUT, or PATCH for more complex resources.