diff --git a/core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry/client/PromptTemplatesApi.java b/core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry/client/PromptTemplatesApi.java index 549328c12..b39598e62 100644 --- a/core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry/client/PromptTemplatesApi.java +++ b/core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry/client/PromptTemplatesApi.java @@ -516,7 +516,6 @@ public PromptTemplatePostResponse importPromptTemplate() throws OpenApiRequestEx * @param name (required) The value for the parameter name * @param aiResourceGroup (optional) Specify a resource group id to use * @param aiResourceGroupScope (optional) Specify whether the resource group scope is to be used - * @param includeSpec (optional, default to false) The value for the parameter includeSpec * @return PromptTemplateListResponse * @throws OpenApiRequestException if an error occurs while attempting to invoke the API */ @@ -526,8 +525,7 @@ public PromptTemplateListResponse listPromptTemplateHistory( @Nonnull final String version, @Nonnull final String name, @Nullable final String aiResourceGroup, - @Nullable final String aiResourceGroupScope, - @Nullable final Boolean includeSpec) + @Nullable final String aiResourceGroupScope) throws OpenApiRequestException { final Object localVarPostBody = null; @@ -566,9 +564,6 @@ public PromptTemplateListResponse listPromptTemplateHistory( final MultiValueMap localVarFormParams = new LinkedMultiValueMap(); - localVarQueryParams.putAll( - apiClient.parameterToMultiValueMap(null, "includeSpec", includeSpec)); - if (aiResourceGroup != null) localVarHeaderParams.add("AI-Resource-Group", apiClient.parameterToString(aiResourceGroup)); if (aiResourceGroupScope != null) @@ -618,7 +613,7 @@ public PromptTemplateListResponse listPromptTemplateHistory( public PromptTemplateListResponse listPromptTemplateHistory( @Nonnull final String scenario, @Nonnull final String version, @Nonnull final String name) throws OpenApiRequestException { - return listPromptTemplateHistory(scenario, version, name, null, null, null); + return listPromptTemplateHistory(scenario, version, name, null, null); } /** diff --git a/core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml b/core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml index f12f94189..21a221bbd 100644 --- a/core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml +++ b/core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml @@ -107,11 +107,6 @@ paths: required: true schema: type: string - - name: includeSpec - in: query - schema: - type: boolean - default: false responses: '200': description: Successful response