This commit is contained in:
Anthony Stirling
2023-09-13 00:46:30 +01:00
parent 2c0fb33548
commit 82b641458f
23 changed files with 121 additions and 100 deletions

View File

@@ -10,17 +10,17 @@ import stirling.software.SPDF.model.api.PDFFile;
public class SanitizePdfRequest extends PDFFile {
@Schema(description = "Remove JavaScript actions from the PDF", defaultValue = "false")
private Boolean removeJavaScript;
private boolean removeJavaScript;
@Schema(description = "Remove embedded files from the PDF", defaultValue = "false")
private Boolean removeEmbeddedFiles;
private boolean removeEmbeddedFiles;
@Schema(description = "Remove metadata from the PDF", defaultValue = "false")
private Boolean removeMetadata;
private boolean removeMetadata;
@Schema(description = "Remove links from the PDF", defaultValue = "false")
private Boolean removeLinks;
private boolean removeLinks;
@Schema(description = "Remove fonts from the PDF", defaultValue = "false")
private Boolean removeFonts;
private boolean removeFonts;
}

View File

@@ -27,7 +27,7 @@ public class SignPDFWithCertRequest extends PDFFile {
private String password;
@Schema(description = "Whether to visually show the signature in the PDF file")
private Boolean showSignature;
private boolean showSignature;
@Schema(description = "The reason for signing the PDF")
private String reason;