com.github.taccisum.swagger.configurer.DocketBuilderInterceptor Maven / Gradle / Ivy
The newest version!
package com.github.taccisum.swagger.configurer;
import com.github.taccisum.swagger.configurer.event.AfterInitializeDocketEvent;
import com.github.taccisum.swagger.configurer.event.BeforeInitializeDocketEvent;
import com.google.common.eventbus.Subscribe;
import org.springframework.core.Ordered;
/**
* @author tac - [email protected]
* @since 2019/2/12
*/
public interface DocketBuilderInterceptor extends Ordered {
@Subscribe
default void before(BeforeInitializeDocketEvent event) {
}
@Subscribe
default void after(AfterInitializeDocketEvent event) {
}
}