You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2019/11/10 03:20:30 UTC
[cxf] 02/02: CXF-8144: OpenAPI v3 Feature: duplicated methods. The
issue is caused by the Portable feature refactorings,
basically half of the Portable*s are annotated with CXF's @Provider
annotation, which in case of Spring-based scanning,
leads to discovery and registration of both features
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 402f771fa81e4c94d63f53dbc5ea77eef7b4fcb7
Author: reta <dr...@gmail.com>
AuthorDate: Sat Nov 9 22:20:05 2019 -0500
CXF-8144: OpenAPI v3 Feature: duplicated methods. The issue is caused by the Portable feature refactorings, basically half of the Portable*s are annotated with CXF's @Provider annotation, which in case of Spring-based scanning, leads to discovery and registration of both features
---
.../src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
index 46b5ead..bdb844d 100644
--- a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
+++ b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
@@ -216,7 +216,6 @@ public class Swagger2Feature extends AbstractSwaggerFeature<Swagger2Feature.Port
return delegate.findSwaggerUiRoot();
}
- @Provider(value = Type.Feature, scope = Scope.Server)
public static class Portable extends AbstractSwaggerFeature.Portable
implements SwaggerUiSupport, SwaggerProperties {
private static final String SCHEMES_PROPERTY = "schemes";