Multiple baseUri in RAML? -
i new raml , have basic question:
it not possible specify set of alternative baseuri (only single allowed). there alternative way model multiple alternative installations of api (e.g. separate release-cycle environments)?
the way deal templating baseuri
.
for jvm apps use:
baseuri: ${baseuri}
and render raml file jsp.
for ruby apps use:
baseuri: <%= base_uri >
and render erb.
the value baseuri
computed on fly, based on inbound request, it's matching host / domain it's deployed.
Comments
Post a Comment