From 22429ae597cbb129c8ee6da655d75b99b9396d4b Mon Sep 17 00:00:00 2001 From: Jonathan Fontaine <51128961+j-fontaine@users.noreply.github.com> Date: Wed, 26 Jun 2019 10:11:15 -0400 Subject: [PATCH] Update the openapi.generator plugin from version 4.0.0-beta to 4.0.2 fix issues around paths containing . characters. REFERENCE: https://github.com/OpenAPITools/openapi-generator/pull/1895 As part of this up rev, certain unit tests began failing related to String and URI conflicts. After some testing, found that removing the "format: uri" tag from the yaml file resolved the issue. I did this in an attempt to keep the method signature String given the implied unit test functionality. I did not do a full audit and it may be recommended that we confirm this before merging by someone more familiar with the code generation. --- pom.xml | 4 ++-- rest/specs/src/main/filtered-resources/openapi/openapi.yaml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 446161c..7e8daf1 100644 --- a/pom.xml +++ b/pom.xml @@ -89,8 +89,8 @@ 3.1.1 3.1.0 1.4.0 - - 4.0.0-beta + + 4.0.2 2.5.3 3.1.0 3.0.1 diff --git a/rest/specs/src/main/filtered-resources/openapi/openapi.yaml b/rest/specs/src/main/filtered-resources/openapi/openapi.yaml index 0befe38..f7fe020 100644 --- a/rest/specs/src/main/filtered-resources/openapi/openapi.yaml +++ b/rest/specs/src/main/filtered-resources/openapi/openapi.yaml @@ -230,7 +230,6 @@ components: required: true schema: type: string - format: uri example: ${rest.server.url}/xyz schemas: @@ -307,7 +306,6 @@ components: example: 4.6.9 url: type: string - format: uri description: > An externally accessible url where the remote system is hosting REST services that can can be reached. For DDF-based systems, this would be the base url for the CSW and