Skip to content
Open
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
Expand Up @@ -50,7 +50,7 @@ class JavaModelInterfaceRenderer constructor(override val vrapTypeProvider: Vrap
|${type.subclassImport()}
|
|import com.fasterxml.jackson.annotation.*;
|import com.fasterxml.jackson.databind.annotation.*;
|import tools.jackson.databind.annotation.*;
|import io.vrap.rmf.base.client.utils.Generated;
|import io.vrap.rmf.base.client.Accessor;
|import jakarta.validation.Valid;
Expand Down Expand Up @@ -118,8 +118,8 @@ class JavaModelInterfaceRenderer constructor(override val vrapTypeProvider: Vrap
| * gives a TypeReference for usage with Jackson DataBind
| * @return TypeReference
| */
|public static com.fasterxml.jackson.core.type.TypeReference<${vrapType.simpleClassName}> typeReference() {
| return new com.fasterxml.jackson.core.type.TypeReference<${vrapType.simpleClassName}>() {
|public static tools.jackson.core.type.TypeReference<${vrapType.simpleClassName}> typeReference() {
| return new tools.jackson.core.type.TypeReference<${vrapType.simpleClassName}>() {
| @Override
| public String toString() {
| return "TypeReference<${vrapType.simpleClassName}>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class JavaModelClassFileProducer constructor(override val vrapTypeProvider: Vrap
|import java.util.*;
|import java.time.*;
|
|import com.fasterxml.jackson.core.JsonProcessingException;
|import com.fasterxml.jackson.databind.annotation.*;
|import tools.jackson.core.exc.JacksonException;
|import import tools.jackson.databind.annotation.*;
|import com.fasterxml.jackson.annotation.JsonAnySetter;
|import com.fasterxml.jackson.annotation.JsonCreator;
|import com.fasterxml.jackson.annotation.JsonIgnore;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class JavaHttpRequestRenderer constructor(override val vrapTypeProvider: VrapTyp
|import java.util.stream.Collectors;
|import java.util.concurrent.CompletableFuture;
|import io.vrap.rmf.base.client.utils.Generated;
|import com.fasterxml.jackson.core.type.TypeReference;
|import tools.jackson.core.type.TypeReference;
|
|import javax.annotation.Nullable;
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class JavaStringHttpRequestRenderer constructor(override val vrapTypeProvider: V
|import java.util.stream.Collectors;
|import java.util.concurrent.CompletableFuture;
|import io.vrap.rmf.base.client.utils.Generated;
|import com.fasterxml.jackson.core.type.TypeReference;
|import tools.jackson.core.type.TypeReference;
|
|import javax.annotation.Nullable;
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fun Method.javaReturnType(vrapTypeProvider: VrapTypeProvider) : String {
if(returnType is VrapObjectType) {
return "${returnType.`package`.toJavaPackage()}.${returnType.simpleClassName}"
}
return "com.fasterxml.jackson.databind.JsonNode"
return "tools.jackson.databind.JsonNode"
}

fun Method.toStringRequestName(): String {
Expand Down
Loading