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.
Fixing programmatic access,
With this implementation, it is enabled using :
const csn = cds.linked(await cds.load(*files*))const doc = cds.compile.to.ord(csn)
Generating multiple entryPoints depending on protocol and paths (using cds.service.protocol)
const csn = cds.linked(await cds.load(*files*))
const doc = cds.compile.to.ord(csn)
entryPoints
depending onprotocol
andpaths
(using cds.service.protocol)