com.hzlinks.swagger.rpc.reader.NameDiscover 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.reader;
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.PrioritizedParameterNameDiscoverer;
import org.springframework.core.StandardReflectionParameterNameDiscoverer;
public final class NameDiscover {
public static final ParameterNameDiscoverer parameterNameDiscover;
static {
parameterNameDiscover = new PrioritizedParameterNameDiscoverer();
((PrioritizedParameterNameDiscoverer) parameterNameDiscover)
.addDiscoverer(new LocalVariableTableParameterNameDiscoverer());
((PrioritizedParameterNameDiscoverer) parameterNameDiscover)
.addDiscoverer(new StandardReflectionParameterNameDiscoverer());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy