feat(fullstack): Add test application form creation
This commit is contained in:
@@ -63,6 +63,31 @@ paths:
|
||||
"503":
|
||||
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/ServiceUnavailable"
|
||||
|
||||
/test-data/application-form:
|
||||
post:
|
||||
summary: Creates a test application form based on seeded data
|
||||
operationId: createTestDataApplicationForm
|
||||
tags:
|
||||
- test-data
|
||||
parameters:
|
||||
- in: query
|
||||
name: organizationId
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: The organization ID to create the test form in
|
||||
responses:
|
||||
"201":
|
||||
description: Successfully created test application form
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ApplicationFormDto"
|
||||
"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/{id}:
|
||||
parameters:
|
||||
- name: id
|
||||
|
||||
Reference in New Issue
Block a user