Skip to content

Move classes which are implementation detail to internal

d3e8ce2
Select commit
Loading
Failed to load commit list.
Draft

Add OpenAPI extension for auto-documenting Restlet applications' APIs #1484

Move classes which are implementation detail to internal
d3e8ce2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 25, 2026 in 48s

Annotations

Check warning on line 65 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/OpenApiApplication.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Router router'

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9QFphZiB-r_f1m&open=AZ0jhK9QFphZiB-r_f1m&pullRequest=1484

Check warning on line 67 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/OpenApiApplication.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Filter filter'

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9QFphZiB-r_f1n&open=AZ0jhK9QFphZiB-r_f1n&pullRequest=1484

Check warning on line 30 in org.restlet.ext.openapi/src/test/java/org/restlet/ext/openapi/OpenApiGenerationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9cFphZiB-r_f1o&open=AZ0jhK9cFphZiB-r_f1o&pullRequest=1484

Check failure on line 43 in org.restlet.ext.openapi/src/test/java/org/restlet/ext/openapi/LibraryExample.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9kFphZiB-r_f1q&open=AZ0jhK9kFphZiB-r_f1q&pullRequest=1484

Check warning on line 26 in org.restlet.ext.openapi/src/test/java/org/restlet/ext/openapi/OpenApiGenerationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9cFphZiB-r_f1p&open=AZ0jhK9cFphZiB-r_f1p&pullRequest=1484

Check warning on line 22 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/internal/OpenApiAnnotationProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK4KFphZiB-r_f1g&open=AZ0jhK4KFphZiB-r_f1g&pullRequest=1484

Check warning on line 141 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/internal/RestletOpenApiReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "paths" which hides the field declared at line 59.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK88FphZiB-r_f1k&open=AZ0jhK88FphZiB-r_f1k&pullRequest=1484

Check warning on line 72 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/internal/OpenApiAnnotationProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK4KFphZiB-r_f1h&open=AZ0jhK4KFphZiB-r_f1h&pullRequest=1484

Check warning on line 95 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/OpenApiSpecificationRestlet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK9GFphZiB-r_f1l&open=AZ0jhK9GFphZiB-r_f1l&pullRequest=1484

Check warning on line 317 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/internal/RestletOpenApiReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK88FphZiB-r_f1j&open=AZ0jhK88FphZiB-r_f1j&pullRequest=1484

Check warning on line 100 in org.restlet.ext.openapi/src/main/java/org/restlet/ext/openapi/internal/OpenApiAnnotationProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZ0jhK4KFphZiB-r_f1i&open=AZ0jhK4KFphZiB-r_f1i&pullRequest=1484