Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
z0mt3c committed Feb 21, 2017
1 parent fc32a9f commit bbb6a99
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const optionsSchema = Joi.object({
showRequestHeaders: Joi.boolean().optional(),
jsonEditor: Joi.boolean().optional()
}).optional(),
oauthOptions: Joi.any({}),
oauthOptions: Joi.any(),
authorization: Joi.alternatives([Joi.any().valid([null, false]), Joi.object({
field: Joi.string().required(),
scope: Joi.string().valid(['query', 'header']).required(),
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
"node": ">=4.0.0"
},
"dependencies": {
"handlebars": "^4.0.4",
"hoek": "^4.0.1",
"inert": "^4.0.1",
"joi": "^9.0.1",
"swagger-ui": "^2.2.3",
"vision": "^4.0.1"
"handlebars": "^4.0.6",
"hoek": "^4.1.0",
"inert": "^4.1.0",
"joi": "^10.2.2",
"swagger-ui": "^2.2.10",
"vision": "^4.1.1"
},
"devDependencies": {
"code": "^3.0.1",
"hapi": "^13.0.0",
"lab": "^10.9.0",
"standard": "^7.1.2"
"code": "^4.0.0",
"hapi": "^16.1.0",
"lab": "^12.1.0",
"standard": "^8.6.0"
},
"scripts": {
"lint": "standard",
Expand Down
23 changes: 10 additions & 13 deletions templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

<link rel="icon" type="image/png" href="{{routePrefix}}/images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="{{routePrefix}}/images/favicon-16x16.png" sizes="16x16" />
<link href="{{routePrefix}}/css/typography.css" media="screen" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/reset.css" media="screen" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/screen.css" media="screen" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/reset.css" media="print" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/print.css" media="print" rel="stylesheet" type="text/css"/>
<link href="{{routePrefix}}/css/typography.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{{routePrefix}}/css/reset.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{{routePrefix}}/css/screen.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{{routePrefix}}/css/reset.css" media="print" rel="stylesheet" type="text/css" />
<link href="{{routePrefix}}/css/print.css" media="print" rel="stylesheet" type="text/css" />

<script src="{{routePrefix}}/lib/object-assign-pollyfill.js" type="text/javascript"></script>
<script src="{{routePrefix}}/lib/jquery-1.8.0.min.js" type="text/javascript"></script>
Expand Down Expand Up @@ -92,21 +92,18 @@
<body class="swagger-section">
<div id="header">
<div class="swagger-ui-wrap">
<a id="logo" href="#"><img class="logo__img" alt="swagger" height="30" width="30" src="{{routePrefix}}/images/logo_small.png" /><span class="logo__title">{{title}}</span></a>
<a id="logo" href="#"><img class="logo__img" alt="{{title}}" height="30" width="30" src="{{routePrefix}}/images/logo_small.png" /><span class="logo__title">{{title}}</span></a>
<form id="api_selector" style="{{#if authorization}}{{else}}display: none;{{/if}}">
<div class="input" style="display:none;"><input placeholder="http://example.com/api" id="input_baseUrl"
name="baseUrl" type="text"/></div>

<div class="input" style="display:none;"><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"/></div>
<div class="input">
<input placeholder="{{#if authorization.placeholder}}{{authorization.placeholder}}{{else}}{{authorization.field}}{{/if}}"
id="input_apiKey" name="apiKey" type="text"/>
<input placeholder="{{#if authorization.placeholder}}{{authorization.placeholder}}{{else}}{{authorization.field}}{{/if}}" id="input_apiKey" name="apiKey" type="text"/>
</div>
<div class="input"><a id="explore" href="#">Explore</a></div>
<div class='input'><a id="explore" class="header__btn" href="#" data-sw-translate>Explore</a></div>
</form>
</div>
</div>

<div id="message-bar" class="swagger-ui-wrap">&nbsp;</div>
<div id="message-bar" class="swagger-ui-wrap" data-sw-translate>&nbsp;</div>
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>
</body>
</html>

0 comments on commit bbb6a99

Please sign in to comment.