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
reslang should honor modifiers for inlined attributes #66
The modifies on parameters in the AudienceFieldInfo aren't respected. Optional will work since it's set on the structure but mutable and output are not respected. The POST endpoint will still include parameters marked output.
Currently if you define a structure like this
structure AudienceFieldInfo { a: int output // on GET only b: mutable output // on PUT, PATCH and GET c: string optional-post }
and include it in a resource
resource Audience::Field { audienceFieldInfo: AudienceFieldInfo }
The modifies on parameters in the AudienceFieldInfo aren't respected. Optional will work since it's set on the structure but mutable and output are not respected. The POST endpoint will still include parameters marked
output
.