Skip to content

Commit

Permalink
chore(docs): output OpenAPI v3 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
benedfit authored Dec 6, 2023
2 parents 463deab + 98ffca6 commit 54de2e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"make-dir": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"swagger-parser": "^8.0.1"
"swagger-parser": "^8.0.1",
"swagger2openapi": "^7.0.8"
},
"files": [],
"homepage": "https://github.com/netlify/open-api#readme",
Expand All @@ -48,6 +49,7 @@
"start": "run-s lint build",
"bundle": "redocly bundle external@latest --output external.yml",
"build": "run-s convert bundle redoc",
"postbuild": "swagger2openapi external.yml -o dist/openapi.json",
"convert": "node src/convert.js",
"bump-swagger": "node src/bump-swagger.js",
"redoc": "node src/docs/build.js",
Expand Down

0 comments on commit 54de2e6

Please sign in to comment.