feat(#3): Add PDF caching

This commit is contained in:
2025-12-23 10:09:30 +01:00
parent 9999ac3bb4
commit 4dfa62fcfe
16 changed files with 469 additions and 37 deletions

View File

@@ -134,12 +134,12 @@ paths:
"503":
$ref: "https://api.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0#/components/responses/ServiceUnavailable"
/application-forms/{id}/pdf:
/application-forms/{id}/versions/{versionNumber}/pdf:
get:
summary: Returns the application form rendered as PDF
operationId: getApplicationFormPdf
summary: Returns the application form version rendered as PDF
operationId: getApplicationFormVersionPdf
tags:
- application-form
- application-form-version
parameters:
- name: id
in: path
@@ -147,9 +147,15 @@ paths:
schema:
type: string
format: uuid
- name: versionNumber
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: Application form as PDF
description: Application form version as PDF
content:
application/pdf:
schema: