From e02d399da0b6b31bbb511aa23bbf336a78916e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20D=C3=A9nari=C3=A9?= Date: Tue, 5 Aug 2025 15:35:08 +0200 Subject: [PATCH] Fix swagger configuration --- component/service/pom.xml | 53 +++++++++++++++++++++++++++++++++++---- pom.xml | 2 +- 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/component/service/pom.xml b/component/service/pom.xml index 763056042f5..abbbfcfe1a4 100644 --- a/component/service/pom.xml +++ b/component/service/pom.xml @@ -56,6 +56,7 @@ social-component-core test-jar + ${project.artifactId} @@ -87,14 +88,56 @@ - io.openapitools.swagger + io.swagger.core.v3 swagger-maven-plugin - true + social-javax + ${project.build.directory}/swagger + YAML - io.meeds.social.rest.impl + io.meeds.social + org.exoplatform.social.rest.impl - + TRUE + + + + io.github.kbuntrock + openapi-maven-plugin + + ${project.build.directory}/swagger + + + social-spring.yaml + + io.meeds.social.category + io.meeds.social.cms + io.meeds.social.coediting + + + io.meeds.social.navigation + io.meeds.social.observer + io.meeds.social.resource + io.meeds.social.rest.impl + io.meeds.social.security + io.meeds.social.space + io.meeds.social.translation + org.exoplatform.social.rest.impl + + + + + + + com.rameshkp + openapi-merger-maven-plugin + + ${project.build.directory}/swagger + ${project.build.directory}/ + YAML + social + + 3.0.3 ${rest.api.doc.title} ${rest.api.doc.version} @@ -104,7 +147,7 @@ LGPL - + diff --git a/pom.xml b/pom.xml index 664e6898e07..9a00d81cf1f 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ maven-parent-pom io.meeds - 28-M02 + 28-SNAPSHOT io.meeds.social