Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Mar 21, 2019
1 parent 9593c78 commit 26b5839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i express-middleware-openapi

see [app.ts](test/app.ts) for an example.

```
```javascript
new OpenApiMiddleware({
apiSpecPath: './openapi.yaml',
validateApiDoc: true, // default
Expand All @@ -33,7 +33,7 @@ new OpenApiMiddleware({

Try the complete example below:

```
```javascript
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
Expand Down

0 comments on commit 26b5839

Please sign in to comment.