Skip to content

feat: Refactor to hide Java HttpHandler interface behind own interface#75

Merged
thced merged 11 commits into
masterfrom
feat/extra-route-interface
May 20, 2026
Merged

feat: Refactor to hide Java HttpHandler interface behind own interface#75
thced merged 11 commits into
masterfrom
feat/extra-route-interface

test: Lock .yml extension support for spec loading and content-type

e25ae95
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 20, 2026 in 37s

Annotations

Check warning on line 35 in src/main/java/com/retailsvc/http/BadRequestException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this validation logic before the super() or this() call.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGw3C2HoFXsIjVCVR&open=AZ5FGw3C2HoFXsIjVCVR&pullRequest=75

Check failure on line 58 in src/main/java/com/retailsvc/http/Handlers.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "GET, HEAD" 3 times.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGw3U2HoFXsIjVCVT&open=AZ5FGw3U2HoFXsIjVCVT&pullRequest=75

Check failure on line 19 in src/main/java/com/retailsvc/http/internal/ProblemDetail.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Bad Request" 3 times.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGwxf2HoFXsIjVCVO&open=AZ5FGwxf2HoFXsIjVCVO&pullRequest=75

Check warning on line 19 in src/main/java/com/retailsvc/http/internal/ProblemDetail.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this magic number 400 to a well-named constant, and use the constant instead.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGwxf2HoFXsIjVCVN&open=AZ5FGwxf2HoFXsIjVCVN&pullRequest=75

Check failure on line 44 in src/main/java/com/retailsvc/http/Handlers.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Allow" 4 times.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGw3U2HoFXsIjVCVS&open=AZ5FGw3U2HoFXsIjVCVS&pullRequest=75

Check warning on line 33 in src/main/java/com/retailsvc/http/BadRequestException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this magic number 400 to a well-named constant, and use the constant instead.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGw3C2HoFXsIjVCVP&open=AZ5FGw3C2HoFXsIjVCVP&pullRequest=75

Check warning on line 33 in src/main/java/com/retailsvc/http/BadRequestException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this magic number 499 to a well-named constant, and use the constant instead.

See more on https://sonarcloud.io/project/issues?id=extenda_openapi-httpserver-java&issues=AZ5FGw3C2HoFXsIjVCVQ&open=AZ5FGw3C2HoFXsIjVCVQ&pullRequest=75