Skip to content

Commit

Permalink
TCGC generate decorator signatures (Azure#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin authored and iscai-msft committed Jul 18, 2024
1 parent 83631cd commit 93f3ab6
Show file tree
Hide file tree
Showing 9 changed files with 570 additions and 42 deletions.
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

0 comments on commit 93f3ab6

Please sign in to comment.