Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Oct 8, 2019
1 parent 01b1c5d commit decf631
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 @@ -20,7 +20,7 @@ npm i express-openapi-validator

## Usage

Install the openapi validator
1. Install the openapi validator

```javascript
new OpenApiValidator({
Expand All @@ -30,7 +30,7 @@ new OpenApiValidator({
}).install(app);
```

Then, register an error handler to report and customize errors
2. Register an error handler

```javascript
app.use((err, req, res, next) => {
Expand Down

0 comments on commit decf631

Please sign in to comment.