Param
Less than 1 minute
Param
class ParamProperties
description
what the parameter means, and any constraints worth stating in prose
public readonly string $descriptionType: string
enum
restricts the value to a fixed set
public readonly array $enumType: array
minimum
inclusive lower bound for numeric parameters
public readonly null|float|int $minimumType: null|float|int
maximum
inclusive upper bound for numeric parameters
public readonly null|float|int $maximumType: null|float|int
format
a JSON Schema format annotation, e.g. date-time or email
public readonly string $formatType: string
items
schema for elements of an array parameter
public readonly array $itemsType: array
schema
replaces the generated schema entirely, for shapes reflection cannot express
public readonly array $schemaType: array
Methods
__construct
public __construct(string $description, array $enum, null|float|int $minimum, null|float|int $maximum, string $format, array $items, array $schema): voidParameters
| Parameter | Type | Description |
|---|---|---|
$description | string | what the parameter means, and any constraints worth stating in prose |
$enum | array | restricts the value to a fixed set |
$minimum | null | float |
$maximum | null | float |
$format | string | a JSON Schema format annotation, e.g. date-time or email |
$items | array | schema for elements of an array parameter |
$schema | array | replaces the generated schema entirely, for shapes reflection cannot express |
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:44 +0000