From d0e307e386700481c0c55885cf64e1b3b4eed9b2 Mon Sep 17 00:00:00 2001 From: Frank Calise Date: Wed, 16 Oct 2019 10:05:50 -0400 Subject: [PATCH] Grammar fix :) --- src/middlewares/openapi.request.validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } });