com.hzlinks.swagger.rpc.config.DubboServiceScanner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swaggerpc-springboot-starter Show documentation
Show all versions of swaggerpc-springboot-starter Show documentation
swagger for dubbo rpc with spring boot
package com.hzlinks.swagger.rpc.config;
import com.hzlinks.swagger.rpc.http.ReferenceManager;
import io.swagger.config.Scanner;
import java.util.Map;
import java.util.Set;
import org.springframework.stereotype.Component;
@Component
public class DubboServiceScanner implements Scanner {
@Override
public Set> classes() {
return interfaceMapRef().keySet();
}
public Map, Object> interfaceMapRef() {
return ReferenceManager.getInstance().getInterfaceMapRef();
}
@Override
public boolean getPrettyPrint() {
return false;
}
@Override
public void setPrettyPrint(boolean shouldPrettyPrint) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy