Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Nov 30, 2019
1 parent 9ae3e60 commit a9228a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ new OpenApiValidator({
// unknownFormats: ['my-format'] // <-- to provide custom formats
})
.install(app)
.then(app => {
.then(() => {
// 5. Define routes using Express
app.get('/v1/pets', function(req, res, next) {
res.json([{ id: 1, name: 'max' }, { id: 2, name: 'mini' }]);
Expand Down

0 comments on commit a9228a0

Please sign in to comment.