feat(api): Reorder components
This commit is contained in:
@@ -566,18 +566,6 @@ components:
|
|||||||
bearerFormat: JWT
|
bearerFormat: JWT
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
####### UserDto #######
|
|
||||||
UserDto:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- id
|
|
||||||
- name
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
|
|
||||||
####### ApplicationFormDto #######
|
####### ApplicationFormDto #######
|
||||||
ApplicationFormDto:
|
ApplicationFormDto:
|
||||||
type: object
|
type: object
|
||||||
@@ -647,6 +635,79 @@ components:
|
|||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/ApplicationFormDto"
|
$ref: "#/components/schemas/ApplicationFormDto"
|
||||||
|
|
||||||
|
####### Form #######
|
||||||
|
FormElementDto:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- applicationFormId
|
||||||
|
- options
|
||||||
|
- type
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
applicationFormId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
options:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/FormOptionDto"
|
||||||
|
type:
|
||||||
|
$ref: "#/components/schemas/FormElementType"
|
||||||
|
|
||||||
|
CreateFormElementDto:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- options
|
||||||
|
- type
|
||||||
|
properties:
|
||||||
|
options:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/FormOptionDto"
|
||||||
|
type:
|
||||||
|
$ref: "#/components/schemas/FormElementType"
|
||||||
|
|
||||||
|
FormOptionDto:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- value
|
||||||
|
- label
|
||||||
|
- processingPurpose
|
||||||
|
- employeeDataCategory
|
||||||
|
properties:
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
label:
|
||||||
|
type: string
|
||||||
|
processingPurpose:
|
||||||
|
$ref: "#/components/schemas/ProcessingPurpose"
|
||||||
|
employeeDataCategory:
|
||||||
|
$ref: "#/components/schemas/EmployeeDataCategory"
|
||||||
|
|
||||||
|
FormElementType:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- SELECT
|
||||||
|
- CHECKBOX
|
||||||
|
- RADIOBUTTON
|
||||||
|
- TEXTFIELD
|
||||||
|
- SWITCH
|
||||||
|
|
||||||
|
####### UserDto #######
|
||||||
|
UserDto:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- name
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
|
||||||
####### CommentDto #######
|
####### CommentDto #######
|
||||||
CommentDto:
|
CommentDto:
|
||||||
type: object
|
type: object
|
||||||
@@ -745,67 +806,6 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: binary
|
format: binary
|
||||||
|
|
||||||
####### Form #######
|
|
||||||
FormElementDto:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- id
|
|
||||||
- applicationFormId
|
|
||||||
- options
|
|
||||||
- type
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
applicationFormId:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
options:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/FormOptionDto"
|
|
||||||
type:
|
|
||||||
$ref: "#/components/schemas/FormElementType"
|
|
||||||
|
|
||||||
CreateFormElementDto:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- options
|
|
||||||
- type
|
|
||||||
properties:
|
|
||||||
options:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/FormOptionDto"
|
|
||||||
type:
|
|
||||||
$ref: "#/components/schemas/FormElementType"
|
|
||||||
|
|
||||||
FormOptionDto:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- value
|
|
||||||
- label
|
|
||||||
- processingPurpose
|
|
||||||
- employeeDataCategory
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
label:
|
|
||||||
type: string
|
|
||||||
processingPurpose:
|
|
||||||
$ref: "#/components/schemas/ProcessingPurpose"
|
|
||||||
employeeDataCategory:
|
|
||||||
$ref: "#/components/schemas/EmployeeDataCategory"
|
|
||||||
|
|
||||||
FormElementType:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- SELECT
|
|
||||||
- CHECKBOX
|
|
||||||
- RADIOBUTTON
|
|
||||||
- TEXTFIELD
|
|
||||||
- SWITCH
|
|
||||||
|
|
||||||
####### Notification #######
|
####### Notification #######
|
||||||
NotificationDto:
|
NotificationDto:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
Reference in New Issue
Block a user