Skip to content

Update generated SDKs #654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

package com.commercetools.api.predicates.expansion;

import java.util.List;

import io.vrap.rmf.base.client.Builder;
import io.vrap.rmf.base.client.utils.Generated;

@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public interface ExpansionDsl extends Builder<String> {
public List<String> getPath();

@Override
public default String build() {
return String.join(".", getPath());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

package com.commercetools.api.predicates.expansion;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import io.vrap.rmf.base.client.utils.Generated;

@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ExpansionUtil {

public static <T> List<T> appendOne(final List<T> list, T element) {
final List<T> arr = new ArrayList(list);
arr.add(element);
return Collections.unmodifiableList(arr);
}
}
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,4 @@ eac13cfcb88a83f4f4e977ba51c0b11e458cff61
1b650bc8eb1a78c3487484900b1e36d06226c6e2
9f96ac14ba13a3702b5d59c67900ee92b5416075
782c15fc6ad5a74efa39a0f121cdf992d2771d05
5bb32d115089a1be919275f2ea07f7fa0ce567c7
Loading