diff --git a/.changeset/perfect-balloons-obey.md b/.changeset/perfect-balloons-obey.md deleted file mode 100644 index 24a312f66..000000000 --- a/.changeset/perfect-balloons-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -fix(test): adopt `coercedBodyEquals` diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index 9d30dce41..7ef685da8 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,12 @@ # @azure-tools/cadl-ranch-specs +## 0.37.7 + +### Patch Changes + +- ecfd2f0: fix(test): adopt `coercedBodyEquals` +- 86817b9: Fix explode array mockapi in routes. + ## 0.37.6 ### Patch Changes diff --git a/packages/cadl-ranch-specs/http/routes/mockapi.ts b/packages/cadl-ranch-specs/http/routes/mockapi.ts index 994bb5720..d1ae1682f 100644 --- a/packages/cadl-ranch-specs/http/routes/mockapi.ts +++ b/packages/cadl-ranch-specs/http/routes/mockapi.ts @@ -110,7 +110,7 @@ Scenarios.Routes_QueryParameters_QueryExpansion_Explode_primitive = createTests( "/routes/query/query-expansion/explode/primitive?param=a", ); Scenarios.Routes_QueryParameters_QueryExpansion_Explode_array = createTests( - "/routes/query/query-expansion/explode/array?param=a,b", + "/routes/query/query-expansion/explode/array?param=a¶m=b", ); Scenarios.Routes_QueryParameters_QueryExpansion_Explode_record = createTests( "/routes/query/query-expansion/explode/record?a=1&b=2", @@ -129,7 +129,7 @@ Scenarios.Routes_QueryParameters_QueryContinuation_Explode_primitive = createTes "/routes/query/query-continuation/explode/primitive?fixed=true¶m=a", ); Scenarios.Routes_QueryParameters_QueryContinuation_Explode_array = createTests( - "/routes/query/query-continuation/explode/array?fixed=true¶m=a,b", + "/routes/query/query-continuation/explode/array?fixed=true¶m=a¶m=b", ); Scenarios.Routes_QueryParameters_QueryContinuation_Explode_record = createTests( "/routes/query/query-continuation/explode/record?fixed=true&a=1&b=2", diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 0195e43bf..61d227bfa 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.37.6", + "version": "0.37.7", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module",