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

Reslang doesn't follow standards outlined in RFC API-3 for actions #12

Closed ajain0184 closed 4 years ago

ajain0184 commented 4 years ago

As per our RFC API-3:

Actions on long-running asynchronous requests should be modeled as verbs, with an “/actions/” path prefix.

However, currently reslang generates this swagger (example from direct2dist): /v1/distribution-requests/{parentId}/cancels

liveandrew commented 4 years ago

fixed in anydepth-mark-2 branch. awaiting merge. https://github.com/LiveRamp/reslang/commit/7472ce48e358dc209c2f79b8053f259df7252d38