mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
Format new code with prettier
This commit is contained in:
parent
b7b6e84322
commit
cb5602748d
|
@ -141,7 +141,11 @@ export function isNamedDefinition(pointer?: string): boolean {
|
||||||
return /^#\/components\/schemas\/[^\/]+$/.test(pointer || '');
|
return /^#\/components\/schemas\/[^\/]+$/.test(pointer || '');
|
||||||
}
|
}
|
||||||
|
|
||||||
function humanizeRangeConstraint(description: string, min: number | undefined, max: number | undefined): string | undefined {
|
function humanizeRangeConstraint(
|
||||||
|
description: string,
|
||||||
|
min: number | undefined,
|
||||||
|
max: number | undefined,
|
||||||
|
): string | undefined {
|
||||||
let stringRange;
|
let stringRange;
|
||||||
if (min !== undefined && max !== undefined) {
|
if (min !== undefined && max !== undefined) {
|
||||||
if (min === max) {
|
if (min === max) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user