Create diagram for Open API spec

This commit is contained in:
Christian Georgi
2020-11-14 21:38:18 +01:00
parent d5ef630743
commit 6d488b042c
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
"genres": "cds serve test/genres.cds",
"start": "cds run",
"watch": "cds watch",
"to-openapi": "cds compile srv --to openapi -s CatalogService -o srv && mv srv/srv.openapi3.json srv/CatalogService.openapi3.json"
"to-openapi": "cds compile srv --to openapi -s CatalogService -o srv --openapi:diagram && mv srv/srv.openapi3.json srv/CatalogService.openapi3.json"
},
"cds": {
"requires": {