File tree Expand file tree Collapse file tree
test/java/giis/samples/openapi/test/springserver Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >org.springframework.boot</groupId >
99 <artifactId >spring-boot-starter-parent</artifactId >
10- <version >3.5.7 </version >
10+ <version >4.0.0 </version >
1111 <!-- relative path empty as this is a submodule, but spring starter needs to be the parent-->
1212 <relativePath />
1313 </parent >
2727 <dependencies >
2828 <dependency >
2929 <groupId >org.springframework.boot</groupId >
30- <artifactId >spring-boot-starter-web </artifactId >
30+ <artifactId >spring-boot-starter-webmvc </artifactId >
3131 </dependency >
3232 <dependency >
3333 <groupId >org.springframework.data</groupId >
7979
8080 <dependency >
8181 <groupId >org.springframework.boot</groupId >
82- <artifactId >spring-boot-starter-test</artifactId >
82+ <artifactId >spring-boot-starter-webmvc- test</artifactId >
8383 </dependency >
8484 <dependency >
8585 <groupId >org.junit.jupiter</groupId >
Original file line number Diff line number Diff line change 11# server.port=8081
2- spring.jackson.date-format =giis.samples.openapi.invoker.RFC3339DateFormat
3- spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS =false
2+ # spring boot v4 uses jackson v3, set compatibility with jackson v2
3+ spring.jackson.use-jackson2-defaults =true
4+ spring.jackson2.date-format =giis.tdrules.openapi.invoker.RFC3339DateFormat
5+ spring.jackson2.serialization.WRITE_DATES_AS_TIMESTAMPS =false
Original file line number Diff line number Diff line change 1414import org .slf4j .Logger ;
1515import org .slf4j .LoggerFactory ;
1616import org .springframework .beans .factory .annotation .Autowired ;
17- import org .springframework .boot .test .autoconfigure . web . servlet .AutoConfigureMockMvc ;
17+ import org .springframework .boot .webmvc . test .autoconfigure .AutoConfigureMockMvc ;
1818import org .springframework .boot .test .context .SpringBootTest ;
1919import org .springframework .http .MediaType ;
2020import org .springframework .test .context .junit .jupiter .SpringExtension ;
You can’t perform that action at this time.
0 commit comments