feign icon indicating copy to clipboard operation
feign copied to clipboard

Error in Expressions.PathStyleExpression#getValue

Open lijinliangyihao opened this issue 1 year ago • 0 comments

Expressions.PathStyleExpression#getValue:

@Override
public String getValue() {
    if (this.getPattern() != null) {
        // this line
        return "{" + this.separator + this.getName() + ":" + this.getName() + "}";
    }
    return "{" + this.separator + this.getName() + "}";
}

Maybe the intentions is:

return "{" + this.separator + this.getName() + ":" + this.getPattern() + "}";

?

lijinliangyihao avatar Dec 21 '23 04:12 lijinliangyihao