feat(backend,api): Add comment

This commit is contained in:
2025-05-04 10:35:29 +02:00
parent 324c534fdf
commit 6a751285dc
13 changed files with 184 additions and 11 deletions

View File

@@ -656,6 +656,8 @@ components:
$ref: "#/components/schemas/FormOptionDto"
type:
$ref: "#/components/schemas/FormElementType"
comments:
$ref: "#/components/schemas/PagedCommentDto"
CreateFormElementDto:
type: object
@@ -714,20 +716,27 @@ components:
required:
- id
- message
- formElementId
- createdAt
- modifiedAt
- createdBy
properties:
id:
type: string
format: uuid
message:
type: string
formElementId:
type: string
format: uuid
createdAt:
type: string
format: date-time
modifiedAt:
type: string
format: date-time
createdBy:
$ref: "#/components/schemas/UserDto"
CreateCommentDto:
type: object