Skip to content

Commit

Permalink
format tsp
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmimsft committed Nov 10, 2024
1 parent 82c4fb2 commit 0861ac7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkg/datastoresrp/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions typespec/UCP/ucp-operations.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ using OpenAPI;
@segmentOf(TResource)
@armResourceList(TResource)
@get
op UcpResourceList<
TResource extends Foundations.Resource,
TBaseParameters>(
op UcpResourceList<TResource extends Foundations.Resource, TBaseParameters>(
...TBaseParameters,
...ParentKeysOf<TResource>,
): ArmResponse<ResourceListResult<TResource>> | ErrorResponse;
Expand All @@ -46,9 +44,7 @@ op UcpResourceList<
@autoRoute
@doc("Get a {name}", TResource)
@get
op UcpResourceRead<
TResource extends Foundations.Resource,
TBaseParameters>(
op UcpResourceRead<TResource extends Foundations.Resource, TBaseParameters>(
...TBaseParameters,
): ArmResponse<TResource> | ErrorResponse;

Expand Down

0 comments on commit 0861ac7

Please sign in to comment.