DEV Community

Discussion on: Spring Boot REST with OpenAPI 3

Collapse
 
abcox profile image
Adam Cox

Great article! I noticed in some similar work I am working on there is a generated source file ApiCallback.java. This is an interface with methods like onSuccess, onFailure, etc.. Is it possible to write an implementation to override the behavior? What I am trying to get to his the data sent in the header on successful calls. It seems I would do it this way, but I am open to what makes sense. Thanks in advance..