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

Custom descriptions for offset and limit #74

Closed khardaw closed 4 years ago

khardaw commented 4 years ago

The offset and limit parameter descriptions do not align perfectly with all of DM's use cases.

We'd like to define an action called GetValues as a MULTIGET. In the reslang generated descriptions of the limit parameter of this MULTIGET it refers to the number of GetValues actions returned. In this case, DM would like to use offset and limit to dictate the number of values returned by the action and not the number of GetValues extension.

I attempted to define output and limit as parameters in reslang but it looks like reslang ignore these user defined parameters on the MULTIGET.