From 9d946d01af8a7fde1632b3bbd8f43991e53808cc Mon Sep 17 00:00:00 2001 From: Albin Ramovic Date: Tue, 25 Feb 2025 11:07:24 +0100 Subject: [PATCH] tmp change - add TODO --- xmpl/srv/ord-service.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmpl/srv/ord-service.mjs b/xmpl/srv/ord-service.mjs index 30b7976..644cb3c 100644 --- a/xmpl/srv/ord-service.mjs +++ b/xmpl/srv/ord-service.mjs @@ -62,6 +62,11 @@ export class OrdService extends cds.ApplicationService { * * NOTE: we add cds.middlewares.before to the route, which gives us all * the context and auth handling, which is also available to CAP services. + * + * TODO: Paths should be the following: + * - http://localhost:4004/ord/v1/documents/ord-document + * - http://localhost:4004/ord/v1/:ordId/:fileName + * - http://localhost:4004/.well-known/open-resource-discovery */ cds.app.get (`${this.path}/:api?/:service?`, cds.middlewares.before, req => { const { api, service } = req.params