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

Allow individual APIs to choose their own namespaces + prefix #32

Closed liveandrew closed 4 years ago

liveandrew commented 4 years ago

need to stop using the directory as the namespace, and allow this to be configured as part of the namespace declaration

liveandrew commented 4 years ago

added in latest release. namespace details can be specified after "namespace" keyword now:

namespace andrew/home { ... }

andrew/home is now used as the URL prefix for both REST APIs and events.