Skip to content

Commit

Permalink
specs, bug fix, tcgc usage test (#640)
Browse files Browse the repository at this point in the history
specs, bug fix on tcgc usage test
  • Loading branch information
weidongxu-microsoft authored Jul 18, 2024
1 parent dd1b849 commit 4e524cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-shoes-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@azure-tools/cadl-ranch-specs": patch
---

bug fix in tcgc usage test
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ namespace ModelInOperation {
Expected response body:
```json
{
"name": <any string>
"result": {
"name": <any string>
}
}
```
""")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Scenarios.Azure_ClientGenerator_Core_Usage_ModelInOperation = passOnSuccess([
mockapi.put("/azure/client-generator-core/usage/modelInReadOnlyProperty", (req) => {
return {
status: 200,
body: json({ name: "Madge" }),
body: json({ result: { name: "Madge" } }),
};
}),
]);

0 comments on commit 4e524cb

Please sign in to comment.