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
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.
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 theoptional
modified to a structure member already flagged withoutput
so that the member wouldn't berequired
.Describe the value this feature would provide This makes it easier to differentiate between what a caller should or shouldn't
POST
,PUT
, orPATCH
for more complex resources.