Skip to content

Commit 4e5eb2c

Browse files
committed
added build command to bundle yaml files for swagger
1 parent 1aa2bd0 commit 4e5eb2c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_build

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"name": "swagger-bundle",
33
"version": "1.0.0",
4-
"scripts": {},
4+
"scripts": {
5+
"build": "npx swagger-cli bundle src/openapi.yaml --outfile _build/openapi.yaml --type yaml"
6+
},
57
"author": {
68
"email": "mahdifarajideveloper@gmail.com",
79
"name": "Mehdi Faraji",

0 commit comments

Comments
 (0)