[cxf] branch 3.1.x-fixes updated: [CXF-7637] 'pattern' property was removed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch 3.1.x-fixes updated: [CXF-7637] 'pattern' property was removed

ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
     new 99ded5f  [CXF-7637] 'pattern' property was removed
99ded5f is described below

commit 99ded5f8a6f5fa00b64531542c7c0b5b0ab8b92c
Author: Francesco Chicchiriccò <[hidden email]>
AuthorDate: Tue Feb 13 18:59:03 2018 +0100

    [CXF-7637] 'pattern' property was removed
---
 .../cxf/jaxrs/swagger/openapi/SwaggerToOpenApiConversionUtils.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/openapi/SwaggerToOpenApiConversionUtils.java b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/openapi/SwaggerToOpenApiConversionUtils.java
index 67dafb7..611b9ac 100644
--- a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/openapi/SwaggerToOpenApiConversionUtils.java
+++ b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/openapi/SwaggerToOpenApiConversionUtils.java
@@ -228,6 +228,7 @@ public final class SwaggerToOpenApiConversionUtils {
         if (sw2PathVerbParamsList != null) {
             for (Iterator<Map<String, Object>> it = sw2PathVerbParamsList.iterator(); it.hasNext();) {
                 JsonMapObject sw2PathVerbParamMap = new JsonMapObject(it.next());
+                sw2PathVerbParamMap.removeProperty("pattern");
                 if ("body".equals(sw2PathVerbParamMap.getStringProperty("in"))) {
                     it.remove();
                     

--
To stop receiving notification emails like this one, please contact
[hidden email].