feat(#3): Add PDF caching
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user