From eadf65f56631d7c9fa8721e2eb48bb8267f2b9d2 Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 22 Oct 2019 09:11:26 +0300 Subject: [PATCH] remove 'digits' from description --- src/utils/openapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/openapi.ts b/src/utils/openapi.ts index 55efc600..e9657547 100644 --- a/src/utils/openapi.ts +++ b/src/utils/openapi.ts @@ -376,7 +376,7 @@ function humanizeMultipleOfConstraint(multipleOf: number | undefined): string | if (!/^0\.0*1$/.test(strigifiedMultipleOf)) { return `multiple of ${strigifiedMultipleOf}`; } - return `decimal places <= ${strigifiedMultipleOf.split('.')[1].length} digits`; + return `decimal places <= ${strigifiedMultipleOf.split('.')[1].length}`; } function humanizeRangeConstraint(