JAVA-31002 Upgrade spring-boot-swagger (#16244)
Co-authored-by: timis1 <noreplay@yahoo.com>
This commit is contained in:
parent
a53feeeed3
commit
ff723063a7
@ -75,7 +75,7 @@
|
||||
<module>spring-boot-ssl-bundles</module>
|
||||
<module>spring-boot-telegram</module>
|
||||
<module>spring-boot-springdoc</module>
|
||||
<!-- <module>spring-boot-swagger</module>--> <!-- failing after upgrading to spring boot 3.2.x -->
|
||||
<module>spring-boot-swagger</module>
|
||||
<!-- <module>spring-boot-swagger-2</module>--> <!-- failing after upgrading to spring boot 3. Swagger codegen yet not compatible?!-->
|
||||
<module>spring-boot-swagger-jwt</module>
|
||||
<module>spring-boot-swagger-keycloak</module>
|
||||
|
@ -10,9 +10,10 @@
|
||||
<description>Module For Spring Boot Swagger</description>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung.spring-boot-modules</groupId>
|
||||
<artifactId>spring-boot-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-boot-3</artifactId>
|
||||
<relativePath>../../parent-boot-3</relativePath>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
@ -30,6 +31,11 @@
|
||||
<artifactId>springdoc-openapi-ui</artifactId>
|
||||
<version>${springdoc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.ws.rs</groupId>
|
||||
<artifactId>jakarta.ws.rs-api</artifactId>
|
||||
<version>${jakarta.ws.rs-api.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -82,6 +88,8 @@
|
||||
<properties>
|
||||
<swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version>
|
||||
<springdoc.version>1.7.0</springdoc.version>
|
||||
<jakarta.ws.rs-api.version>3.1.0</jakarta.ws.rs-api.version>
|
||||
<start-class>com.baeldung.swaggerexample.SwaggerExampleApplication</start-class>
|
||||
</properties>
|
||||
|
||||
</project>
|
@ -5,9 +5,9 @@ import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
import jakarta.ws.rs.POST;
|
||||
import jakarta.ws.rs.Path;
|
||||
import jakarta.ws.rs.Produces;
|
||||
|
||||
@Api
|
||||
@Path(value="/hire")
|
||||
|
Loading…
x
Reference in New Issue
Block a user