You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the application and see the logs. There is no Spring Data REST operations in logs.
What version of spring-boot you are using?
3.0.2
What modules and versions of springdoc-openapi are you using?
2.0.2
Expected behavior
OperationCustomizer capability apply to all Spring Data REST methods.
Additional context
Methods exported by @RepositoryRestResource cannot be customized, but methods exported by @RepositoryRestController or @BasePathAwareController are handled by OperationCustomizer.
The text was updated successfully, but these errors were encountered:
Describe the Feature
Operations exported by @RepositoryRestResource is not handled by OperationCustomizer. They cannot be customized.
To Reproduce
Steps to reproduce the behavior:
@Entity public class MyEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; }
@RepositoryRestResource public interface MyRepository extends JpaRepository<MyEntity, Long> { }
@Bean OperationCustomizer operationCustomizer() { return (operation, handlerMethod) -> { log.info("operation:" + operation.getOperationId()); return operation; }; }
3.0.2
2.0.2
Expected behavior
OperationCustomizer capability apply to all Spring Data REST methods.
Additional context
Methods exported by @RepositoryRestResource cannot be customized, but methods exported by @RepositoryRestController or @BasePathAwareController are handled by OperationCustomizer.
The text was updated successfully, but these errors were encountered: