public MethodInfo withDescriptionInfo(DescriptionInfo descriptionInfo) {
        requireNonNull(descriptionInfo, "descriptionInfo");
        if (descriptionInfo.equals(this.descriptionInfo)) {
            return this;
        }

        return new MethodInfo(name, returnTypeSignature, parameters, useParameterAsRoot,
                              exceptionTypeSignatures, endpoints,
                              exampleHeaders, exampleRequests, examplePaths, exampleQueries, httpMethod,
                              descriptionInfo, id);
    }
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