public MethodInfo withParameters(Iterable<FieldInfo> parameters) {
        requireNonNull(parameters, "parameters");
        if (parameters.equals(this.parameters)) {
            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 {@code parameters}.
Returns {@code this} if this {@link MethodInfo} has the same {@code parameters}.
core/src/main/java/com/linecorp/armeria/server/docs/MethodInfo.java