Skip to content

Commit

Permalink
tmp change - add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
aramovic79 committed Feb 25, 2025
1 parent 05ec03d commit 9d946d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xmpl/srv/ord-service.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d946d0

Please sign in to comment.