diff --git a/src/middlewares/openapi.request.validator.ts b/src/middlewares/openapi.request.validator.ts index a1a40f49..2abf694d 100644 --- a/src/middlewares/openapi.request.validator.ts +++ b/src/middlewares/openapi.request.validator.ts @@ -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); } });