Swagger UI with cds-swagger-ui-express

Moved from `bookshop` to `fiori`, as that one already has a `server.js`
This commit is contained in:
Christian Georgi
2021-07-05 17:34:49 +02:00
parent 82d6f54337
commit 97670bbc84
5 changed files with 10 additions and 74 deletions

View File

@@ -5,15 +5,13 @@
"dependencies": {
"@capire/common": "*",
"@sap/cds": "^5.0.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"passport": "0.4.1"
},
"scripts": {
"genres": "cds serve test/genres.cds",
"start": "cds run",
"watch": "cds watch",
"to-openapi": "cds compile srv --to openapi -s all -o srv --openapi:diagram"
"watch": "cds watch"
},
"cds": {
"requires": {