feat(fullstack): Add contact form

This commit is contained in:
2026-02-08 18:21:07 +01:00
parent 43aef3b5b1
commit 36132a3bef
12 changed files with 420 additions and 11 deletions

View File

@@ -1169,6 +1169,29 @@ paths:
"500":
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/ServerError"
####### Contact #######
/contact:
post:
summary: Send a contact message
operationId: sendContactMessage
tags:
- contact
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ContactMessageDto"
responses:
"204":
description: Contact message sent successfully
"400":
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/BadRequest"
"401":
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/Unauthorized"
"500":
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/ServerError"
/application-forms/{applicationFormId}/files:
parameters:
- name: applicationFormId
@@ -2044,6 +2067,22 @@ components:
- WARNING
- ERROR
####### Contact DTOs #######
ContactMessageDto:
type: object
required:
- subject
- message
properties:
subject:
type: string
minLength: 1
description: Subject of the contact message
message:
type: string
minLength: 1
description: HTML body of the contact message
####### File Upload DTOs #######
UploadedFileDto:
type: object