Skip to content

Commit

Permalink
Upgrade swagger-ui to version: 5.10.3
Browse files Browse the repository at this point in the history
Upgrade spring-boot to version: 3.2.0
  • Loading branch information
bnasslahsen committed Dec 2, 2023
1 parent 1acbf20 commit 7f4f629
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<version>3.2.0</version>
</parent>

<licenses>
Expand Down Expand Up @@ -62,7 +62,7 @@
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin>
<swagger-api.version>2.2.19</swagger-api.version>
<swagger-ui.version>5.9.0</swagger-ui.version>
<swagger-ui.version>5.10.3</swagger-ui.version>
<gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version>
<jaxb-impl.version>2.1</jaxb-impl.version>
<javax.jws-api.version>1.1</javax.jws-api.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.springdoc.core.configuration.oauth2;

import java.time.Instant;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.springdoc.core.customizers.GlobalOpenApiCustomizer;
import org.springdoc.core.customizers.OpenApiHateoasLinksCustomizer;
import org.springdoc.core.properties.SpringDocConfigProperties;

import org.springframework.boot.autoconfigure.AutoConfigurations;
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package test.org.springdoc.api.v31.app8;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.NOT_REQUIRED;
import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.data.repository.query.Param;

@NoRepositoryBean
public interface CodeLookupRepository<EntityT, KeyT> {
public interface CodeLookupRepository<EntityT, KeyT extends String> {
EntityT findOneByCode(@Param("code") KeyT code);

Long countByCode(KeyT code);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"name": "code",
"in": "query",
"schema": {
"type": "object"
"type": "string"
}
}
],
Expand Down Expand Up @@ -150,7 +150,7 @@
"name": "code",
"in": "query",
"schema": {
"type": "object"
"type": "string"
}
}
],
Expand Down

0 comments on commit 7f4f629

Please sign in to comment.