Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio authored Mar 26, 2019
1 parent b1cc4f6 commit dfe8973
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 @@ -117,7 +117,7 @@ curl http://localhost:3000/v1/pets/as |jq

#### Validate a query parameter with a range constraint

`/pets?limit=?` should be of type integer with a value greater than 5, express-openapi-validator returns:
`/pets?limit=?` should be of type integer with a value greater than 5. It should also require an additional query paramter, `test`, express-openapi-validator returns:

```shell
curl http://localhost:3000/v1/pets?limit=1 |jq
Expand Down

0 comments on commit dfe8973

Please sign in to comment.