Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
use --no-try-out option with swagger-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
darahayes committed Jul 31, 2017
1 parent 0bab3a6 commit 28b03a4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 67 deletions.
6 changes: 6 additions & 0 deletions docs/swagger/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
background: #fafafa;
}
</style>

<style>
.try-out {
display: none;
}
</style>
</head>

<body>
Expand Down
83 changes: 18 additions & 65 deletions npm-shrinkwrap.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"start": "node lib/server/start.js",
"test": "npm run pg:init-test-db && UDARU_SERVICE_logger_pino_level=silent lab -c -t 95",
"test:commit-check": "npm run doc:lint && npm run lint && npm run test",
"swagger-gen": "node scripts/getSwaggerJson.js | swagger-gen -d docs/swagger"
"swagger-gen": "node scripts/getSwaggerJson.js | swagger-gen -d docs/swagger --no-try-out"
},
"remarkConfig": {
"plugins": [
Expand Down Expand Up @@ -89,7 +89,7 @@
"remark-lint": "^6.0.0",
"remark-preset-lint-recommended": "^2.0.0",
"standard": "^8.6.0",
"swagger-gen": "^1.0.3"
"swagger-gen": "^1.1.3"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit 28b03a4

Please sign in to comment.