fork of hey-api/openapi-ts because I need some additional things
1export const identifiers = {
2 model_config: 'model_config',
3};
4
5export interface FieldConstraints {
6 /** Alias for the field name in serialization. */
7 alias?: string;
8 /** Default value for the field. */
9 default?: unknown;
10 /** Default factory function (for mutable defaults). */
11 default_factory?: string;
12 /** Description of the field. */
13 description?: string;
14 /** Greater than or equal constraint for numbers. */
15 ge?: number;
16 /** Greater than constraint for numbers. */
17 gt?: number;
18 /** Less than or equal constraint for numbers. */
19 le?: number;
20 /** Less than constraint for numbers. */
21 lt?: number;
22 /** Maximum length constraint for strings/arrays. */
23 max_length?: number;
24 /** Minimum length constraint for strings/arrays. */
25 min_length?: number;
26 /** Multiple of constraint for numbers. */
27 multiple_of?: number;
28 /** Regex pattern constraint for strings. */
29 pattern?: string;
30 /** Title for the field. */
31 title?: string;
32}