Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCGC generate decorator signatures #1201

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
changeKind: internal
packages:
- "@azure-tools/typespec-client-generator-core"
---

Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ op func8(@body body: Test5): void;
Create a ClientGenerator.Core client out of a namespace or interface

```typespec
@Azure.ClientGenerator.Core.client(value?: {}, scope?: valueof string)
@Azure.ClientGenerator.Core.client(value?: Model, scope?: valueof string)
```

#### Target
Expand All @@ -163,7 +163,7 @@ Create a ClientGenerator.Core client out of a namespace or interface

| Name | Type | Description |
| ----- | ---------------- | ------------------------------------------------------------------------------------------------------------- |
| value | `{}` | Optional configuration for the service. |
| value | `Model` | Optional configuration for the service. |
| scope | `valueof string` | The language scope you want this decorator to apply to. If not specified, will apply to all language emitters |

#### Examples
Expand Down
4 changes: 2 additions & 2 deletions packages/typespec-client-generator-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ op func8(@body body: Test5): void;
Create a ClientGenerator.Core client out of a namespace or interface

```typespec
@Azure.ClientGenerator.Core.client(value?: {}, scope?: valueof string)
@Azure.ClientGenerator.Core.client(value?: Model, scope?: valueof string)
```

##### Target
Expand All @@ -180,7 +180,7 @@ Create a ClientGenerator.Core client out of a namespace or interface

| Name | Type | Description |
| ----- | ---------------- | ------------------------------------------------------------------------------------------------------------- |
| value | `{}` | Optional configuration for the service. |
| value | `Model` | Optional configuration for the service. |
| scope | `valueof string` | The language scope you want this decorator to apply to. If not specified, will apply to all language emitters |

##### Examples
Expand Down
Loading
Loading