You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/04/26 10:33:14 UTC
[syncope] branch master updated: Upgrading Swagger
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 9957701 Upgrading Swagger
9957701 is described below
commit 9957701e964409247e284ed0262d5afbeb965d80
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Apr 26 12:31:08 2019 +0200
Upgrading Swagger
---
.../syncope/common/rest/api/service/ImplementationService.java | 10 ----------
pom.xml | 4 ++--
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java b/common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
index af8590f..682fd57 100644
--- a/common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
+++ b/common/idrepo/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
@@ -55,8 +55,6 @@ public interface ImplementationService extends JAXRSService {
* @param type implementation type
* @return list of all implementations.
*/
- @Parameter(name = "type", description = "Implementation's type", in = ParameterIn.PATH, schema =
- @Schema(type = "string"))
@GET
@Path("{type}")
@Produces({ MediaType.APPLICATION_JSON, RESTHeaders.APPLICATION_YAML, MediaType.APPLICATION_XML })
@@ -69,10 +67,6 @@ public interface ImplementationService extends JAXRSService {
* @param key key of implementation to be read
* @return implementation with matching key
*/
- @Parameter(name = "type", description = "Implementation's type", in = ParameterIn.PATH, schema =
- @Schema(type = "string"))
- @Parameter(name = "key", description = "Implementation's key", in = ParameterIn.PATH, schema =
- @Schema(type = "string"))
@GET
@Path("{type}/{key}")
@Produces({ MediaType.APPLICATION_JSON, RESTHeaders.APPLICATION_YAML, MediaType.APPLICATION_XML })
@@ -117,10 +111,6 @@ public interface ImplementationService extends JAXRSService {
* @param key key for implementation to be deleted
* @return an empty response if operation was successful
*/
- @Parameter(name = "type", description = "Implementation's type", in = ParameterIn.PATH, schema =
- @Schema(type = "string"))
- @Parameter(name = "key", description = "Implementation's key", in = ParameterIn.PATH, schema =
- @Schema(type = "string"))
@DELETE
@Path("{type}/{key}")
@Produces({ MediaType.APPLICATION_JSON, RESTHeaders.APPLICATION_YAML, MediaType.APPLICATION_XML })
diff --git a/pom.xml b/pom.xml
index 7715361..e9788b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -442,7 +442,7 @@ under the License.
<connid.location>file:${bundles.directory}/</connid.location>
<log.directory>${project.build.directory}/log</log.directory>
- <swagger-core.version>2.0.7</swagger-core.version>
+ <swagger-core.version>2.0.8</swagger-core.version>
<swagger-ui.version>3.22.0</swagger-ui.version>
<guava.version>20.0</guava.version>
@@ -2509,7 +2509,7 @@ under the License.
<link>http://www.flowable.org/docs/javadocs/</link>
<link>https://build.shibboleth.net/nexus/content/sites/site/java-opensaml/3.3.0/apidocs/</link>
<link>https://artifacts.elastic.co/javadoc/org/elasticsearch/elasticsearch/7.0.0/index.html</link>
- <link>http://docs.swagger.io/swagger-core/v2.0.7/apidocs/</link>
+ <link>http://docs.swagger.io/swagger-core/v2.0.8/apidocs/</link>
</links>
</configuration>
<reportSets>