Skip to content

Commit 4af893f

Browse files
authored
chore: Update SAP Cloud SDK to 5.18.0 (#421)
* Update pom.xml * Update AiDeployment.java * Update AiDeploymentResponseWithDetails.java * Update DocumentKeyValueListPair.java * Update GroundingModuleConfig.java
1 parent 512346d commit 4af893f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/DocumentKeyValueListPair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public String toString() {
8585
* @return The enum value of type DocumentKeyValueListPair
8686
*/
8787
@JsonCreator
88-
@Nonnull
88+
@Nullable
8989
public static MatchModeEnum fromValue(@Nonnull final String value) {
9090
for (MatchModeEnum b : MatchModeEnum.values()) {
9191
if (b.value.equals(value)) {

core/src/main/java/com/sap/ai/sdk/core/model/AiDeployment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public String toString() {
170170
* @return The enum value of type AiDeployment
171171
*/
172172
@JsonCreator
173-
@Nonnull
173+
@Nullable
174174
public static LastOperationEnum fromValue(@Nonnull final String value) {
175175
for (LastOperationEnum b : LastOperationEnum.values()) {
176176
if (b.value.equals(value)) {

core/src/main/java/com/sap/ai/sdk/core/model/AiDeploymentResponseWithDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public String toString() {
170170
* @return The enum value of type AiDeploymentResponseWithDetails
171171
*/
172172
@JsonCreator
173-
@Nonnull
173+
@Nullable
174174
public static LastOperationEnum fromValue(@Nonnull final String value) {
175175
for (LastOperationEnum b : LastOperationEnum.values()) {
176176
if (b.value.equals(value)) {

orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/GroundingModuleConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public String toString() {
7373
* @return The enum value of type GroundingModuleConfig
7474
*/
7575
@JsonCreator
76-
@Nonnull
76+
@Nullable
7777
public static TypeEnum fromValue(@Nonnull final String value) {
7878
for (TypeEnum b : TypeEnum.values()) {
7979
if (b.value.equals(value)) {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<maven.compiler.proc>full</maven.compiler.proc>
5959
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6060
<project.build.outputTimestamp>2025-04-03T13:23:00Z</project.build.outputTimestamp>
61-
<cloud-sdk.version>5.17.0</cloud-sdk.version>
61+
<cloud-sdk.version>5.18.0</cloud-sdk.version>
6262
<junit-jupiter.version>5.12.2</junit-jupiter.version>
6363
<wiremock.version>3.12.1</wiremock.version>
6464
<assertj-core.version>3.27.3</assertj-core.version>

0 commit comments

Comments
 (0)