-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathSarTestConfiguration.java
More file actions
26 lines (21 loc) · 1020 Bytes
/
SarTestConfiguration.java
File metadata and controls
26 lines (21 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package net.kaczmarzyk.autoconfiguration;
import net.kaczmarzyk.spring.data.jpa.swagger.springdoc.SpecificationArgResolverSpringdocOperationCustomizer;
import net.kaczmarzyk.spring.data.jpa.web.SpecificationArgumentResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.web.PageableHandlerMethodArgumentResolver;
@Configuration
public class SarTestConfiguration {
@Bean
public SpecificationArgumentResolver differentSpecificationArgumentResolver() {
return new SpecificationArgumentResolver();
}
@Bean
public PageableHandlerMethodArgumentResolver differentPageableHandlerMethodArgumentResolver() {
return new PageableHandlerMethodArgumentResolver();
}
@Bean
public SpecificationArgResolverSpringdocOperationCustomizer differentSpecificationArgResolverSpringdocOperationCustomizer() {
return new SpecificationArgResolverSpringdocOperationCustomizer();
}
}