From 2cd7e4861c0eaa7592e5d335f3d49bec8a32e38b Mon Sep 17 00:00:00 2001 From: I538344 Date: Tue, 9 Jun 2026 13:11:18 +0200 Subject: [PATCH] chore: [DevOps] Update to OpenAPI generator 7.22.0 --- .github/dependabot.yaml | 2 -- .../model/ConfigurationDocument.java | 8 ++--- .../sdk/grounding/model/DocumentMetadata.java | 8 ++--- .../model/MetadataConfigurationResponse.java | 8 ++--- .../registry/model/DPICustomEntity.java | 8 ++--- .../model/TranslationModuleConfig.java | 12 +++---- .../sap/ai/sdk/core/model/AiDeployment.java | 8 ++--- .../AiDeploymentResponseWithDetails.java | 8 ++--- .../sap/ai/sdk/core/model/KpiColumnName.java | 2 +- .../model/PredictRequestPayload.java | 34 ++++++++++++++----- .../rpt/generated/model/PredictionResult.java | 6 ++-- .../generated/model/TargetColumnConfig.java | 14 +++++--- .../orchestration/model/DPICustomEntity.java | 8 ++--- .../model/TranslationModuleConfig.java | 12 +++---- pom.xml | 15 +------- 15 files changed, 80 insertions(+), 73 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index c1b81cc32..6216bbe0b 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -24,8 +24,6 @@ updates: versions: [ ">=5.0.0" ] - dependency-name: "com.github.victools:jsonschema-module-jackson" versions: [ ">=5.0.0" ] - - dependency-name: "org.openapitools:openapi-generator" - versions: [ ">=7.22.0" ] groups: production-minor-patch: dependency-type: "production" diff --git a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/ConfigurationDocument.java b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/ConfigurationDocument.java index 55ceb61a7..8e9a5d12a 100644 --- a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/ConfigurationDocument.java +++ b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/ConfigurationDocument.java @@ -45,7 +45,7 @@ public class ConfigurationDocument @JsonProperty("createdTimestamp") private OffsetDateTime createdTimestamp; - /** Gets or Sets type */ + /** Type of the resource. Can be FOLDER, DOCUMENT. */ public enum TypeEnum { /** The FOLDER option of this ConfigurationDocument */ FOLDER("FOLDER"), @@ -245,7 +245,7 @@ public void setCreatedTimestamp(@Nullable final OffsetDateTime createdTimestamp) /** * Set the type of this {@link ConfigurationDocument} instance and return the same instance. * - * @param type The type of this {@link ConfigurationDocument} + * @param type Type of the resource. Can be FOLDER, DOCUMENT. * @return The same instance of this {@link ConfigurationDocument} class */ @Nonnull @@ -255,7 +255,7 @@ public ConfigurationDocument type(@Nullable final TypeEnum type) { } /** - * Get type + * Type of the resource. Can be FOLDER, DOCUMENT. * * @return type The type of this {@link ConfigurationDocument} instance. */ @@ -267,7 +267,7 @@ public TypeEnum getType() { /** * Set the type of this {@link ConfigurationDocument} instance. * - * @param type The type of this {@link ConfigurationDocument} + * @param type Type of the resource. Can be FOLDER, DOCUMENT. */ public void setType(@Nullable final TypeEnum type) { this.type = type; diff --git a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/DocumentMetadata.java b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/DocumentMetadata.java index 58bfe5fe0..031dd59a0 100644 --- a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/DocumentMetadata.java +++ b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/DocumentMetadata.java @@ -39,7 +39,7 @@ public class DocumentMetadata @JsonProperty("value") private List value; - /** Gets or Sets matchMode */ + /** Match mode for the metadata key (ANY or ALL). */ public enum MatchModeEnum { /** The ANY option of this DocumentMetadata */ ANY("ANY"), @@ -190,7 +190,7 @@ public void setValue(@Nullable final List value) { /** * Set the matchMode of this {@link DocumentMetadata} instance and return the same instance. * - * @param matchMode The matchMode of this {@link DocumentMetadata} + * @param matchMode Match mode for the metadata key (ANY or ALL). * @return The same instance of this {@link DocumentMetadata} class */ @Nonnull @@ -200,7 +200,7 @@ public DocumentMetadata matchMode(@Nullable final MatchModeEnum matchMode) { } /** - * Get matchMode + * Match mode for the metadata key (ANY or ALL). * * @return matchMode The matchMode of this {@link DocumentMetadata} instance. */ @@ -212,7 +212,7 @@ public MatchModeEnum getMatchMode() { /** * Set the matchMode of this {@link DocumentMetadata} instance. * - * @param matchMode The matchMode of this {@link DocumentMetadata} + * @param matchMode Match mode for the metadata key (ANY or ALL). */ public void setMatchMode(@Nullable final MatchModeEnum matchMode) { this.matchMode = matchMode; diff --git a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/MetadataConfigurationResponse.java b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/MetadataConfigurationResponse.java index 893815c23..bda16551e 100644 --- a/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/MetadataConfigurationResponse.java +++ b/core-services/document-grounding/src/main/java/com/sap/ai/sdk/grounding/model/MetadataConfigurationResponse.java @@ -110,7 +110,7 @@ public static DataRepositoryTypeEnum fromValue(@Nonnull final String value) { @JsonProperty("labels") private List labels = new ArrayList<>(); - /** Gets or Sets enumerationStatus */ + /** Status of metadata enumeration for the configuration. */ public enum EnumerationStatusEnum { /** The NEW option of this MetadataConfigurationResponse */ NEW("NEW"), @@ -416,7 +416,7 @@ public void setLabels(@Nullable final List> rows) { /** * Set the columns of this {@link PredictRequestPayload} instance and return the same instance. * - * @param columns The columns of this {@link PredictRequestPayload} + * @param columns Alternative to rows: columns of data where each key is a column name and the + * value is a list of all column values. Either \"rows\" or \"columns\" + * must be provided. * @return The same instance of this {@link PredictRequestPayload} class */ @Nonnull @@ -171,7 +173,8 @@ public PredictRequestPayload putcolumnsItem( } /** - * Get columns + * Alternative to rows: columns of data where each key is a column name and the value is a list of + * all column values. Either \"rows\" or \"columns\" must be provided. * * @return columns The columns of this {@link PredictRequestPayload} instance. */ @@ -183,7 +186,9 @@ public Map> getColumns() { /** * Set the columns of this {@link PredictRequestPayload} instance. * - * @param columns The columns of this {@link PredictRequestPayload} + * @param columns Alternative to rows: columns of data where each key is a column name and the + * value is a list of all column values. Either \"rows\" or \"columns\" + * must be provided. */ public void setColumns(@Nullable final Map> columns) { this.columns = columns; @@ -193,7 +198,10 @@ public void setColumns(@Nullable final Map> columns * Set the indexColumn of this {@link PredictRequestPayload} instance and return the same * instance. * - * @param indexColumn The indexColumn of this {@link PredictRequestPayload} + * @param indexColumn The name of the index column. If provided, the service will return this + * column's value in each prediction object to facilitate aligning the output predictions + * with the input rows on the client side. If not provided, the column will not be included in + * the output. * @return The same instance of this {@link PredictRequestPayload} class */ @Nonnull @@ -203,7 +211,9 @@ public PredictRequestPayload indexColumn(@Nullable final String indexColumn) { } /** - * Get indexColumn + * The name of the index column. If provided, the service will return this column's value in + * each prediction object to facilitate aligning the output predictions with the input rows on the + * client side. If not provided, the column will not be included in the output. * * @return indexColumn The indexColumn of this {@link PredictRequestPayload} instance. */ @@ -215,7 +225,10 @@ public String getIndexColumn() { /** * Set the indexColumn of this {@link PredictRequestPayload} instance. * - * @param indexColumn The indexColumn of this {@link PredictRequestPayload} + * @param indexColumn The name of the index column. If provided, the service will return this + * column's value in each prediction object to facilitate aligning the output predictions + * with the input rows on the client side. If not provided, the column will not be included in + * the output. */ public void setIndexColumn(@Nullable final String indexColumn) { this.indexColumn = indexColumn; @@ -261,7 +274,8 @@ public void setParseDataTypes(@Nullable final Boolean parseDataTypes) { /** * Set the dataSchema of this {@link PredictRequestPayload} instance and return the same instance. * - * @param dataSchema The dataSchema of this {@link PredictRequestPayload} + * @param dataSchema Optional schema defining the data types of each column. If provided, this + * will override automatic data type parsing. * @return The same instance of this {@link PredictRequestPayload} class */ @Nonnull @@ -289,7 +303,8 @@ public PredictRequestPayload putdataSchemaItem( } /** - * Get dataSchema + * Optional schema defining the data types of each column. If provided, this will override + * automatic data type parsing. * * @return dataSchema The dataSchema of this {@link PredictRequestPayload} instance. */ @@ -301,7 +316,8 @@ public Map getDataSchema() { /** * Set the dataSchema of this {@link PredictRequestPayload} instance. * - * @param dataSchema The dataSchema of this {@link PredictRequestPayload} + * @param dataSchema Optional schema defining the data types of each column. If provided, this + * will override automatic data type parsing. */ public void setDataSchema(@Nullable final Map dataSchema) { this.dataSchema = dataSchema; diff --git a/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/PredictionResult.java b/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/PredictionResult.java index 2a6595054..431380a7f 100644 --- a/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/PredictionResult.java +++ b/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/PredictionResult.java @@ -75,7 +75,7 @@ public void setPrediction(@Nonnull final Prediction prediction) { /** * Set the confidence of this {@link PredictionResult} instance and return the same instance. * - * @param confidence The confidence of this {@link PredictionResult} + * @param confidence The confidence of the prediction (currently not provided). * @return The same instance of this {@link PredictionResult} class */ @Nonnull @@ -85,7 +85,7 @@ public PredictionResult confidence(@Nullable final BigDecimal confidence) { } /** - * Get confidence + * The confidence of the prediction (currently not provided). * * @return confidence The confidence of this {@link PredictionResult} instance. */ @@ -97,7 +97,7 @@ public BigDecimal getConfidence() { /** * Set the confidence of this {@link PredictionResult} instance. * - * @param confidence The confidence of this {@link PredictionResult} + * @param confidence The confidence of the prediction (currently not provided). */ public void setConfidence(@Nullable final BigDecimal confidence) { this.confidence = confidence; diff --git a/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/TargetColumnConfig.java b/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/TargetColumnConfig.java index da58d284b..c44ecaea0 100644 --- a/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/TargetColumnConfig.java +++ b/foundation-models/sap-rpt/src/main/java/com/sap/ai/sdk/foundationmodels/rpt/generated/model/TargetColumnConfig.java @@ -36,7 +36,10 @@ public class TargetColumnConfig @JsonProperty("prediction_placeholder") private PredictionPlaceholder predictionPlaceholder; - /** Gets or Sets taskType */ + /** + * The type of prediction task for this column. If not provided, the model will infer the task + * type from the data. + */ public enum TaskTypeEnum { /** The CLASSIFICATION option of this TargetColumnConfig */ CLASSIFICATION("classification"), @@ -170,7 +173,8 @@ public void setPredictionPlaceholder(@Nonnull final PredictionPlaceholder predic /** * Set the taskType of this {@link TargetColumnConfig} instance and return the same instance. * - * @param taskType The taskType of this {@link TargetColumnConfig} + * @param taskType The type of prediction task for this column. If not provided, the model will + * infer the task type from the data. * @return The same instance of this {@link TargetColumnConfig} class */ @Nonnull @@ -180,7 +184,8 @@ public TargetColumnConfig taskType(@Nullable final TaskTypeEnum taskType) { } /** - * Get taskType + * The type of prediction task for this column. If not provided, the model will infer the task + * type from the data. * * @return taskType The taskType of this {@link TargetColumnConfig} instance. */ @@ -192,7 +197,8 @@ public TaskTypeEnum getTaskType() { /** * Set the taskType of this {@link TargetColumnConfig} instance. * - * @param taskType The taskType of this {@link TargetColumnConfig} + * @param taskType The type of prediction task for this column. If not provided, the model will + * infer the task type from the data. */ public void setTaskType(@Nullable final TaskTypeEnum taskType) { this.taskType = taskType; diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/DPICustomEntity.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/DPICustomEntity.java index bc3657710..1cde7a175 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/DPICustomEntity.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/DPICustomEntity.java @@ -75,7 +75,7 @@ public void setRegex(@Nonnull final String regex) { * Set the replacementStrategy of this {@link DPICustomEntity} instance and return the same * instance. * - * @param replacementStrategy The replacementStrategy of this {@link DPICustomEntity} + * @param replacementStrategy Replacement strategy to be used for the entity * @return The same instance of this {@link DPICustomEntity} class */ @Nonnull @@ -85,7 +85,7 @@ public DPICustomEntity replacementStrategy(@Nonnull final DPIMethodConstant repl } /** - * Get replacementStrategy + * Replacement strategy to be used for the entity * * @return replacementStrategy The replacementStrategy of this {@link DPICustomEntity} instance. */ @@ -97,7 +97,7 @@ public DPIMethodConstant getReplacementStrategy() { /** * Set the replacementStrategy of this {@link DPICustomEntity} instance. * - * @param replacementStrategy The replacementStrategy of this {@link DPICustomEntity} + * @param replacementStrategy Replacement strategy to be used for the entity */ public void setReplacementStrategy(@Nonnull final DPIMethodConstant replacementStrategy) { this.replacementStrategy = replacementStrategy; @@ -229,7 +229,7 @@ public interface Builder1 { /** * Set the replacementStrategy of this {@link DPICustomEntity} instance. * - * @param replacementStrategy The replacementStrategy of this {@link DPICustomEntity} + * @param replacementStrategy Replacement strategy to be used for the entity * @return The DPICustomEntity instance. */ DPICustomEntity replacementStrategy(@Nonnull final DPIMethodConstant replacementStrategy); diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/TranslationModuleConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/TranslationModuleConfig.java index a21cc12e0..eafb5bf6a 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/TranslationModuleConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/TranslationModuleConfig.java @@ -43,7 +43,7 @@ protected TranslationModuleConfig() {} /** * Set the input of this {@link TranslationModuleConfig} instance and return the same instance. * - * @param input The input of this {@link TranslationModuleConfig} + * @param input Configuration for input translation * @return The same instance of this {@link TranslationModuleConfig} class */ @Nonnull @@ -53,7 +53,7 @@ public TranslationModuleConfig input(@Nullable final SAPDocumentTranslationInput } /** - * Get input + * Configuration for input translation * * @return input The input of this {@link TranslationModuleConfig} instance. */ @@ -65,7 +65,7 @@ public SAPDocumentTranslationInput getInput() { /** * Set the input of this {@link TranslationModuleConfig} instance. * - * @param input The input of this {@link TranslationModuleConfig} + * @param input Configuration for input translation */ public void setInput(@Nullable final SAPDocumentTranslationInput input) { this.input = input; @@ -74,7 +74,7 @@ public void setInput(@Nullable final SAPDocumentTranslationInput input) { /** * Set the output of this {@link TranslationModuleConfig} instance and return the same instance. * - * @param output The output of this {@link TranslationModuleConfig} + * @param output Configuration for output translation * @return The same instance of this {@link TranslationModuleConfig} class */ @Nonnull @@ -84,7 +84,7 @@ public TranslationModuleConfig output(@Nullable final SAPDocumentTranslationOutp } /** - * Get output + * Configuration for output translation * * @return output The output of this {@link TranslationModuleConfig} instance. */ @@ -96,7 +96,7 @@ public SAPDocumentTranslationOutput getOutput() { /** * Set the output of this {@link TranslationModuleConfig} instance. * - * @param output The output of this {@link TranslationModuleConfig} + * @param output Configuration for output translation */ public void setOutput(@Nullable final SAPDocumentTranslationOutput output) { this.output = output; diff --git a/pom.xml b/pom.xml index 4f93896ec..3e535c13f 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ full UTF-8 2025-04-03T13:23:00Z - 5.30.0 + 5.31.0-SNAPSHOT 6.1.0 3.13.2 3.27.7 @@ -296,19 +296,6 @@ com.sap.cloud.sdk.datamodel openapi-generator-maven-plugin ${cloud-sdk.version} - - - - org.openapitools - openapi-generator - 7.21.0 - - - - - org.openapitools - openapi-generator-maven-plugin - 7.22.0 com.github.siom79.japicmp