Compare commits
2 commits
f2188f6363
...
0b5ea285de
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b5ea285de | |||
| a0df0dff00 |
2 changed files with 72 additions and 2 deletions
|
|
@ -540,7 +540,47 @@ components:
|
|||
additionalProperties: true
|
||||
User:
|
||||
type: object
|
||||
additionalProperties: true
|
||||
properties:
|
||||
user_id:
|
||||
type: integer
|
||||
format: int32
|
||||
description: Unique user ID (primary key)
|
||||
example: 1
|
||||
avatar_id:
|
||||
type: integer
|
||||
format: int32
|
||||
description: ID of the user avatar (references images table)
|
||||
nullable: true
|
||||
example: null
|
||||
mail:
|
||||
type: string
|
||||
format: email
|
||||
description: User email
|
||||
example: "john.doe@example.com"
|
||||
nickname:
|
||||
type: string
|
||||
description: Username (alphanumeric + _ or -)
|
||||
maxLength: 16
|
||||
example: "john_doe_42"
|
||||
disp_name:
|
||||
type: string
|
||||
description: Display name
|
||||
maxLength: 32
|
||||
example: "John Doe"
|
||||
user_desc:
|
||||
type: string
|
||||
description: User description
|
||||
maxLength: 512
|
||||
example: "Just a regular user."
|
||||
creation_date:
|
||||
type: string
|
||||
format: date-time
|
||||
description: Timestamp when the user was created
|
||||
example: "2025-10-10T23:45:47.908073Z"
|
||||
required:
|
||||
- user_id
|
||||
- nickname
|
||||
- creation_date
|
||||
UserTitle:
|
||||
type: object
|
||||
additionalProperties: true
|
||||
|
|
|
|||
|
|
@ -2,4 +2,34 @@
|
|||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type User = Record<string, any>;
|
||||
export type User = {
|
||||
/**
|
||||
* Unique user ID (primary key)
|
||||
*/
|
||||
user_id: number;
|
||||
/**
|
||||
* ID of the user avatar (references images table)
|
||||
*/
|
||||
avatar_id?: number | null;
|
||||
/**
|
||||
* User email
|
||||
*/
|
||||
mail?: string;
|
||||
/**
|
||||
* Username (alphanumeric + _ or -)
|
||||
*/
|
||||
nickname: string;
|
||||
/**
|
||||
* Display name
|
||||
*/
|
||||
disp_name?: string;
|
||||
/**
|
||||
* User description
|
||||
*/
|
||||
user_desc?: string;
|
||||
/**
|
||||
* Timestamp when the user was created
|
||||
*/
|
||||
creation_date: string;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue