mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
remove 'digits' from description
This commit is contained in:
parent
b83a972b4a
commit
eadf65f566
|
@ -376,7 +376,7 @@ function humanizeMultipleOfConstraint(multipleOf: number | undefined): string |
|
||||||
if (!/^0\.0*1$/.test(strigifiedMultipleOf)) {
|
if (!/^0\.0*1$/.test(strigifiedMultipleOf)) {
|
||||||
return `multiple of ${strigifiedMultipleOf}`;
|
return `multiple of ${strigifiedMultipleOf}`;
|
||||||
}
|
}
|
||||||
return `decimal places <= ${strigifiedMultipleOf.split('.')[1].length} digits`;
|
return `decimal places <= ${strigifiedMultipleOf.split('.')[1].length}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function humanizeRangeConstraint(
|
function humanizeRangeConstraint(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user