Skip to content

Commit 09e4ee6

Browse files
committed
Fix highlight language
1 parent fc32a21 commit 09e4ee6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2013-02-12-swagger-jack.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ And that's how swagger-jack was born.
143143

144144
It provides three middlewares, which you can enable or not.
145145

146-
{% highlight json %}
146+
{% highlight js %}
147147
var express = require('express'),
148148
swagger = require('swagger');
149149

@@ -222,7 +222,7 @@ Wether it's a string or an object, it will be serialized into a json response wi
222222

223223
For example:
224224

225-
{% highlight json %}
225+
{% highlight js %}
226226
.use(swagger.generator(app,
227227
{ // general descriptor ... }
228228
[{
@@ -248,7 +248,7 @@ You may not use the error middleware and provide your own.
248248

249249
Use [js-yaml](http://nodeca.github.com/js-yaml/) to store your descriptor in a separate file, and split your code into other controller modules:
250250

251-
{% highlight json %}
251+
{% highlight js %}
252252
var express = require('express'),
253253
swagger = require('swagger'),
254254
yaml = require('js-yaml');

0 commit comments

Comments
 (0)