Skip to content

Commit

Permalink
Grammar fix :)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcalise committed Oct 16, 2019
1 parent 47ed4cf commit d0e307e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/openapi.request.validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class RequestValidator {
'readOnly',
);
if (readOnly) {
const message = `${itemKey} is a readonly property`;
const message = `${itemKey} is a read-only property`;
throw validationError(400, path, message);
}
});
Expand Down

0 comments on commit d0e307e

Please sign in to comment.