Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Oct 24, 2019
1 parent 708e8ad commit d7f9cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -518,7 +518,7 @@ that are _not_ under the base URL鈥攕uch as pages鈥攚ill not be validated.

**Q:** Can i use 1express-openapi-validator1 with `swagger-ui-express`?

**A:** Yes. Be sure to add the swagger serve middleware prior to installing the OpenApiValidator. This will ensure that `swagger-ui-express` is able to fully prepare the spec before before OpenApiValidator attempts to use it.
**A:** Yes. Be sure to `use` the `swagger-ui-express` serve middleware prior to installing `OpenApiValidator`. This will ensure that `swagger-ui-express` is able to fully prepare the spec before before OpenApiValidator attempts to use it. For example:

```javascript
const swaggerUi = require('swagger-ui-express')
Expand Down

0 comments on commit d7f9cd9

Please sign in to comment.