cap-js / ord

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.
Apache License 2.0
3 stars 4 forks source link

Programmatic access #5

Closed muskansethi1 closed 6 months ago

muskansethi1 commented 6 months ago
  1. Loading csn and using it in entrypoint
  2. 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)
  3. Generating multiple entryPoints depending on protocol and paths (using cds.service.protocol)
  4. Optimization and cleaning