mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-10-25 11:17:28 +02:00 
			
		
		
		
	Changes from Version 2.2.0 to 2.8.6 org.springdoc:springdoc-openapi-starter-webmvc-ui (#3400)
				
					
				
			# Description of Changes Please provide a summary of the changes, including: - What was changed - Why the change was made - Any challenges encountered Closes #3399 --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									b4d137cb92
								
							
						
					
					
						commit
						413911210f
					
				| @ -506,7 +506,7 @@ dependencies { | ||||
|     implementation "com.drewnoakes:metadata-extractor:2.19.0" | ||||
| 
 | ||||
|     implementation "commons-io:commons-io:2.19.0" | ||||
|     implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0" | ||||
|     implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.6" | ||||
|     //general PDF | ||||
| 
 | ||||
|     // https://mvnrepository.com/artifact/com.opencsv/opencsv | ||||
|  | ||||
| @ -51,7 +51,7 @@ public class PipelineController { | ||||
|         this.postHogService = postHogService; | ||||
|     } | ||||
| 
 | ||||
|     @PostMapping("/handleData") | ||||
|     @PostMapping(value = "/handleData", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) | ||||
|     public ResponseEntity<byte[]> handleData(@ModelAttribute HandleDataRequest request) | ||||
|             throws JsonMappingException, JsonProcessingException { | ||||
|         MultipartFile[] files = request.getFileInput(); | ||||
|  | ||||
| @ -22,6 +22,7 @@ import org.bouncycastle.cms.SignerInformationStore; | ||||
| import org.bouncycastle.cms.jcajce.JcaSimpleSignerInfoVerifierBuilder; | ||||
| import org.bouncycastle.util.Store; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.http.ResponseEntity; | ||||
| import org.springframework.web.bind.annotation.ModelAttribute; | ||||
| import org.springframework.web.bind.annotation.PostMapping; | ||||
| @ -58,7 +59,7 @@ public class ValidateSignatureController { | ||||
|             description = | ||||
|                     "Validates the digital signatures in a PDF file against default or custom" | ||||
|                             + " certificates. Input:PDF Output:JSON Type:SISO") | ||||
|     @PostMapping(value = "/validate-signature") | ||||
|     @PostMapping(value = "/validate-signature", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) | ||||
|     public ResponseEntity<List<SignatureValidationResult>> validateSignature( | ||||
|             @ModelAttribute SignatureValidationRequest request) throws IOException { | ||||
|         List<SignatureValidationResult> results = new ArrayList<>(); | ||||
|  | ||||
| @ -6,10 +6,12 @@ import io.swagger.v3.oas.annotations.media.Schema; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| 
 | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @EqualsAndHashCode | ||||
| public class PDFFile { | ||||
|     @Schema(description = "The input PDF file") | ||||
|     @Schema(description = "The input PDF file", format = "binary") | ||||
|     private MultipartFile fileInput; | ||||
| } | ||||
|  | ||||
| @ -39,5 +39,6 @@ server.servlet.session.timeout:30m | ||||
| springdoc.api-docs.path=/v1/api-docs | ||||
| # Set the URL of the OpenAPI JSON for the Swagger UI | ||||
| springdoc.swagger-ui.url=/v1/api-docs | ||||
| springdoc.swagger-ui.path=/index.html | ||||
| posthog.api.key=phc_fiR65u5j6qmXTYL56MNrLZSWqLaDW74OrZH0Insd2xq | ||||
| posthog.host=https://eu.i.posthog.com | ||||
| posthog.host=https://eu.i.posthog.com | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user