diff --git a/pkg/datastoresrp/api/README.md b/pkg/datastoresrp/api/README.md index 754c8ff045c..dfdcd7716e7 100644 --- a/pkg/datastoresrp/api/README.md +++ b/pkg/datastoresrp/api/README.md @@ -45,7 +45,7 @@ The following configuration generates track2 go models and client. ```yaml $(tag) != '' version: 3.*.* use: "@autorest/go@4.0.0-preview.69" -module: "github.com/radius-project/radius/pkg/datastoresrp/api" +module: "github.com/radius-project/radius/pkg/datastoresrp/api/v20231001preview" module-version: 0.0.1 file-prefix: zz_generated_ license-header: "Licensed under the Apache License, Version 2.0 . See LICENSE in the repository root for license information.\nCode generated by Microsoft (R) AutoRest Code Generator.\nChanges may cause incorrect behavior and will be lost if the code is regenerated." diff --git a/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go b/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go index 28c7d1dbffc..23eccc0ff7d 100644 --- a/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go +++ b/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go @@ -5,7 +5,7 @@ package v20231001preview const ( - moduleName = "github.com/radius-project/radius/pkg/datastoresrp/api" + moduleName = "github.com/radius-project/radius/pkg/datastoresrp/api/v20231001preview" moduleVersion = "v0.0.1" ) diff --git a/typespec/UCP/ucp-operations.tsp b/typespec/UCP/ucp-operations.tsp index 6a0244755f3..3b8692b17b7 100644 --- a/typespec/UCP/ucp-operations.tsp +++ b/typespec/UCP/ucp-operations.tsp @@ -35,9 +35,7 @@ using OpenAPI; @segmentOf(TResource) @armResourceList(TResource) @get -op UcpResourceList< - TResource extends Foundations.Resource, - TBaseParameters>( +op UcpResourceList( ...TBaseParameters, ...ParentKeysOf, ): ArmResponse> | ErrorResponse; @@ -46,9 +44,7 @@ op UcpResourceList< @autoRoute @doc("Get a {name}", TResource) @get -op UcpResourceRead< - TResource extends Foundations.Resource, - TBaseParameters>( +op UcpResourceRead( ...TBaseParameters, ): ArmResponse | ErrorResponse;