Skip to content

Commit 650df14

Browse files
committed
Merge branch 'v2025.10.31.01' of github.com:CMSgov/qpp-conversion-tool into develop-clone
2 parents 6e12d74 + c7df3f8 commit 650df14

6 files changed

Lines changed: 25 additions & 48 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ can be found in the [sample-files](sample-files/README.md) folder.
199199
200200
## Swagger Info
201201
202-
Swagger will be enabled under `/swagger-ui/index.html#/` path.
202+
Swagger documentation logic for the CT is handled in the Submissions API codebase.
203203
204204
## Javadoc
205205

rest-api/pom.xml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<requiredCodeCoverage>0.90</requiredCodeCoverage>
3333

3434
<!-- For documentation only; actual coordination is done by the BOMs below -->
35-
<spring-framework.version>6.2.11</spring-framework.version>
35+
<spring-framework.version>6.2.12</spring-framework.version>
3636
<tomcat.version>10.1.45</tomcat.version>
3737

3838
<!-- Test stack kept explicit so CI is deterministic across JDK updates -->
@@ -195,7 +195,29 @@
195195
<dependency>
196196
<groupId>org.springframework.boot</groupId>
197197
<artifactId>spring-boot-dependencies</artifactId>
198-
<version>3.4.8</version>
198+
<version>3.4.11</version>
199+
<type>pom</type>
200+
<scope>import</scope>
201+
</dependency>
202+
203+
<!-- These two lines are redundant when importing spring-framework-bom but kept for clarity.
204+
You can safely remove them later if desired. -->
205+
<dependency>
206+
<groupId>org.springframework</groupId>
207+
<artifactId>spring-webmvc</artifactId>
208+
<version>6.2.12</version>
209+
</dependency>
210+
<dependency>
211+
<groupId>org.springframework</groupId>
212+
<artifactId>spring-beans</artifactId>
213+
<version>6.2.12</version>
214+
</dependency>
215+
216+
<!-- Framework BOM import: lifts ALL spring-* modules to 6.2.12 (security fix) -->
217+
<dependency>
218+
<groupId>org.springframework</groupId>
219+
<artifactId>spring-framework-bom</artifactId>
220+
<version>6.2.12</version>
199221
<type>pom</type>
200222
<scope>import</scope>
201223
</dependency>
@@ -254,11 +276,6 @@
254276
<artifactId>snakeyaml</artifactId>
255277
<version>2.3</version>
256278
</dependency>
257-
<dependency>
258-
<groupId>io.swagger.core.v3</groupId>
259-
<artifactId>swagger-annotations</artifactId>
260-
<version>2.2.9</version>
261-
</dependency>
262279
</dependencies>
263280
</dependencyManagement>
264281

rest-api/src/main/java/gov/cms/qpp/conversion/api/config/OpenAPIConfig.java

Lines changed: 0 additions & 19 deletions
This file was deleted.

rest-api/src/main/java/gov/cms/qpp/conversion/api/controllers/HealthCheckController.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
import gov.cms.qpp.conversion.api.model.HealthCheck;
44
import gov.cms.qpp.conversion.api.services.VersionService;
55

6-
import io.swagger.v3.oas.annotations.Operation;
7-
import io.swagger.v3.oas.annotations.media.Content;
8-
import io.swagger.v3.oas.annotations.media.Schema;
9-
import io.swagger.v3.oas.annotations.responses.ApiResponse;
10-
import io.swagger.v3.oas.annotations.responses.ApiResponses;
11-
import io.swagger.v3.oas.annotations.tags.Tag;
126
import org.springframework.http.HttpStatus;
137
import org.springframework.web.bind.annotation.GetMapping;
148
import org.springframework.web.bind.annotation.RequestMapping;
@@ -19,7 +13,6 @@
1913
/**
2014
* Controller to simply respond with status 200 with a GET /health call.
2115
*/
22-
@Tag(name = "Health Check")
2316
@RestController
2417
@RequestMapping("/health")
2518
public class HealthCheckController {
@@ -40,11 +33,6 @@ public HealthCheckController(VersionService version) {
4033
*
4134
* @return health check of version, environment variables, and system properties
4235
*/
43-
@Operation(summary = "Gets the current state of the API.", description = "Returns the environment variables, system properties and implementation version of the conversion tool.")
44-
@ApiResponses({
45-
@ApiResponse(responseCode = "200", content = { @Content(schema = @Schema(implementation = HealthCheck.class), mediaType = "application/json") }),
46-
@ApiResponse(responseCode = "404", content = { @Content(schema = @Schema()) }),
47-
@ApiResponse(responseCode = "500", content = { @Content(schema = @Schema()) }) })
4836
@GetMapping
4937
@ResponseStatus(HttpStatus.OK)
5038
public @ResponseBody HealthCheck health() {

rest-api/src/main/java/gov/cms/qpp/conversion/api/controllers/SkeletalQrdaController.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@
66
import java.util.concurrent.CompletableFuture;
77
import java.util.concurrent.ExecutionException;
88

9-
import io.swagger.v3.oas.annotations.Operation;
10-
import io.swagger.v3.oas.annotations.Parameter;
11-
import io.swagger.v3.oas.annotations.tags.Tag;
129
import org.slf4j.Logger;
1310
import org.slf4j.LoggerFactory;
1411
import org.springframework.http.HttpHeaders;
1512
import org.springframework.http.HttpStatus;
1613
import org.springframework.http.MediaType;
1714
import org.springframework.http.ResponseEntity;
1815
import org.springframework.util.ObjectUtils;
19-
import org.springframework.util.StringUtils;
2016
import org.springframework.web.bind.annotation.*;
2117
import org.springframework.web.multipart.MultipartFile;
2218

@@ -32,7 +28,6 @@
3228
/**
3329
* Controller to handle uploading files for QRDA-III Conversion
3430
*/
35-
@Tag(name="Conversion")
3631
@RestController
3732
@CrossOrigin
3833
public abstract class SkeletalQrdaController<T> {
@@ -66,8 +61,6 @@ public SkeletalQrdaController(QrdaService qrdaService, ValidationService validat
6661
* @param purpose the purpose for the conversion
6762
* @return Valid json or error json content
6863
*/
69-
@Operation(summary = "Converts QRDA3 XML to QPP JSON", description = "Converts QRDA3 XML to QPP JSON. Provide a QRDA3 XML file as a multipart file. The response body will contain the QPP JSON upon success or error JSON on failure.")
70-
@Parameter(name = "Purpose", hidden = true)
7164
@PostMapping(consumes = {"multipart/form-data"})
7265
public ResponseEntity<T> uploadQrdaFile(
7366
@RequestParam(name = "file") MultipartFile file,

rest-api/src/main/java/gov/cms/qpp/conversion/api/controllers/v2/ZipController.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import java.util.zip.ZipEntry;
1010
import java.util.zip.ZipFile;
1111

12-
import io.swagger.v3.oas.annotations.Hidden;
1312
import org.slf4j.Logger;
1413
import org.slf4j.LoggerFactory;
1514
import org.springframework.http.HttpHeaders;
@@ -25,7 +24,6 @@
2524
import gov.cms.qpp.conversion.api.services.QrdaService;
2625
import gov.cms.qpp.conversion.api.services.ValidationService;
2726

28-
@Hidden
2927
@RestController
3028
@RequestMapping(path = "/", headers = {"Accept=application/zip"})
3129
public class ZipController extends SkeletalQrdaController<List<ConvertResponse>> {

0 commit comments

Comments
 (0)