@Override
    public int hashCode() {
        return Objects.hash(id(), name(), returnTypeSignature(), parameters(), useParameterAsRoot(),
                            exceptionTypeSignatures(), endpoints(), httpMethod(), descriptionInfo());
    }
Returns a new {@link MethodInfo} with the specified {@link DescriptionInfo}.
Returns {@code this} if this {@link MethodInfo} has the same {@link DescriptionInfo}.
core/src/main/java/com/linecorp/armeria/server/docs/MethodInfo.java