Open Resource Discovery (ORD) is a protocol that allows applications and services to self-describe their exposed resources and capabilities. This plugin enables generation of ORD document for CAP based applications.
ORD namespace (used as prefix in several ORD IDs) = package.name.replace(/@/,'').replace(/\//g,’'), unless explicitly configured in cds.env.ord.namespace
Products:
"ordId": "customer:product:capire.bookstore:”→ i.e. package.name.replace(/@/,'').replace(/\//g,'.')
"vendor": "customer:vendor:customer:”
"title": “capire bookstore”→ i.e. package.name.replace(/@/,'').replace(///g,'.')
"shortDescription": “capire bookstore" → i.e. package.name.replace(/@/,'').replace(///g,' ')
Addressing
package.name.replace(/@/,'').replace(/\//g,’')
, unless explicitly configured in cds.env.ord.namespacepackage.name.replace(/@/,'').replace(/\//g,'.')
"vendor": "customer:vendor:customer:”
package.name.replace(/@/,'').replace(///g,'.')
package.name.replace(/@/,'').replace(///g,' ')
from https://github.com/cap-js/ord/issues/38