Skip to content

Commit 8dca936

Browse files
Copilotswathipil
andcommitted
Simplify TypeSpec regeneration section to reference tsp-client docs
Co-authored-by: swathipil <[email protected]>
1 parent c9d43bc commit 8dca936

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

sdk/schemaregistry/azure-schemaregistry/CLIENT_DEVELOPER.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,7 @@ The client regeneration is controlled by the `tsp-location.yaml` file in the roo
5454
- The specific commit hash to use
5555
- The directory path (`specification/schemaregistry/SchemaRegistry`)
5656

57-
To regenerate the client:
58-
59-
1. Update the commit hash in `tsp-location.yaml` if needed to point to the latest TypeSpec definitions
60-
2. Run the TypeSpec client generation tool:
61-
```bash
62-
tsp-client update
63-
```
64-
65-
3. Review the generated changes and ensure handwritten code in `_patch.py` files remains intact
66-
67-
### tsp-client Usage
68-
69-
The `tsp-client` tool will:
70-
- Download the TypeSpec definitions from the specified commit
71-
- Generate Python client code based on the TypeSpec specifications
72-
- Preserve handwritten customizations in `_patch.py` files
73-
- Update generated models, operations, and client classes
74-
75-
For more information on tsp-client usage, see the [tsp-client documentation](https://github.com/Azure/azure-sdk-tools/tree/main/tools/tsp-client/README.md).
57+
To regenerate the client, follow the [`tsp-client` docs](https://github.com/Azure/azure-sdk-tools/tree/main/tools/tsp-client/README.md).
7658

7759
## Code Structure
7860

0 commit comments

Comments
 (0)