Skip to content

Commit

Permalink
Merge branch 'main' into issues#689_ReOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
v-hongli1 authored Nov 25, 2024
2 parents 0d1a1d6 + 9a13f42 commit b1bd079
Show file tree
Hide file tree
Showing 19 changed files with 317 additions and 217 deletions.
5 changes: 0 additions & 5 deletions .changeset/quick-coins-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-frogs-rush.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/cadl-ranch-dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @azure-tools/cadl-ranch-dashboard

## 0.11.0

### Minor Changes

- 9d65984: Added number of scenarios under each row

## 0.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cadl-ranch-dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure-tools/cadl-ranch-dashboard",
"private": true,
"version": "0.10.0",
"version": "0.11.0",
"description": "Cadl Ranch Dashboard website",
"main": "dist/index.js",
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/cadl-ranch-expect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @azure-tools/cadl-ranch-expect

## 0.15.6

### Patch Changes

- fb1292d: Bump typespec 0.62.0

## 0.15.5

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/cadl-ranch-expect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure-tools/cadl-ranch-expect",
"version": "0.15.5",
"version": "0.15.6",
"description": "Cadl Library providing decorator and validation for Cadl Ranch specs",
"main": "dist/index.js",
"tspMain": "lib/lib.tsp",
Expand Down Expand Up @@ -30,9 +30,9 @@
"typescript": "~5.5.4"
},
"peerDependencies": {
"@typespec/compiler": "~0.61.0",
"@typespec/http": "~0.61.0",
"@typespec/rest": "~0.61.0",
"@typespec/versioning": "~0.61.0"
"@typespec/compiler": "~0.62.0",
"@typespec/http": "~0.62.0",
"@typespec/rest": "~0.62.0",
"@typespec/versioning": "~0.62.0"
}
}
28 changes: 28 additions & 0 deletions packages/cadl-ranch-specs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @azure-tools/cadl-ranch-specs

## 0.39.4

### Patch Changes

- 7719b7a: Set clientNamespace for java

## 0.39.3

### Patch Changes

- 6a2eafa: Fixed the expected path for routes scenarios

## 0.39.2

### Patch Changes

- bb6a2dd: Fix dotnet compatibility issues in MockApi

## 0.39.1

### Patch Changes

- fb1292d: Bump typespec 0.62.0
- 3317017: Fix Issue In Versioning\Removed.
- Updated dependencies [fb1292d]
- @azure-tools/cadl-ranch-expect@0.15.6
- @azure-tools/cadl-ranch@0.16.1

## 0.39.0

### Minor Changes
Expand Down
36 changes: 18 additions & 18 deletions packages/cadl-ranch-specs/cadl-ranch-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4399,95 +4399,95 @@ Expected path: /routes/path/explicit/a

Test label expansion with explode: true when passed an array value.
Param value: ["a","b"]
Expected path: /routes/label/explode/array.a.b
Expected path: /routes/path/label/explode/array.a.b

### Routes_PathParameters_LabelExpansion_Explode_primitive

- Endpoint: `get /routes/path/label/explode/primitive{.param*}`

Test label expansion with explode: true when passed a primitive value.
Param value: "a"
Expected path: /routes/label/explode/primitive.a
Expected path: /routes/path/label/explode/primitive.a

### Routes_PathParameters_LabelExpansion_Explode_record

- Endpoint: `get /routes/path/label/explode/record{.param*}`

Test label expansion with explode: true when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/label/explode/record.a=1.b=2
Expected path: /routes/path/label/explode/record.a=1.b=2

### Routes_PathParameters_LabelExpansion_Standard_array

- Endpoint: `get /routes/path/label/standard/array{.param}`

Test label expansion with explode: false when passed an array value.
Param value: ["a","b"]
Expected path: /routes/label/standard/array.a,b
Expected path: /routes/path/label/standard/array.a,b

### Routes_PathParameters_LabelExpansion_Standard_primitive

- Endpoint: `get /routes/path/label/standard/primitive{.param}`

Test label expansion with explode: false when passed a primitive value.
Param value: "a"
Expected path: /routes/label/standard/primitive.a
Expected path: /routes/path/label/standard/primitive.a

### Routes_PathParameters_LabelExpansion_Standard_record

- Endpoint: `get /routes/path/label/standard/record{.param}`

Test label expansion with explode: false when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/label/standard/record.a,1,b,2
Expected path: /routes/path/label/standard/record.a,1,b,2

### Routes_PathParameters_MatrixExpansion_Explode_array

- Endpoint: `get /routes/path/matrix/explode/array{;param*}`

Test matrix expansion with explode: true when passed an array value.
Param value: ["a","b"]
Expected path: /routes/matrix/explode/array;a.b
Expected path: /routes/path/matrix/explode/array;a.b

### Routes_PathParameters_MatrixExpansion_Explode_primitive

- Endpoint: `get /routes/path/matrix/explode/primitive{;param*}`

Test matrix expansion with explode: true when passed a primitive value.
Param value: "a"
Expected path: /routes/matrix/explode/primitive;a
Expected path: /routes/path/matrix/explode/primitive;a

### Routes_PathParameters_MatrixExpansion_Explode_record

- Endpoint: `get /routes/path/matrix/explode/record{;param*}`

Test matrix expansion with explode: true when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/matrix/explode/record;a=1;b=2
Expected path: /routes/path/matrix/explode/record;a=1;b=2

### Routes_PathParameters_MatrixExpansion_Standard_array

- Endpoint: `get /routes/path/matrix/standard/array{;param}`

Test matrix expansion with explode: false when passed an array value.
Param value: ["a","b"]
Expected path: /routes/matrix/standard/array;a,b
Expected path: /routes/path/matrix/standard/array;a,b

### Routes_PathParameters_MatrixExpansion_Standard_primitive

- Endpoint: `get /routes/path/matrix/standard/primitive{;param}`

Test matrix expansion with explode: false when passed a primitive value.
Param value: "a"
Expected path: /routes/matrix/standard/primitive;a
Expected path: /routes/path/matrix/standard/primitive;a

### Routes_PathParameters_MatrixExpansion_Standard_record

- Endpoint: `get /routes/path/matrix/standard/record{;param}`

Test matrix expansion with explode: false when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/matrix/standard/record;a,1,b,2
Expected path: /routes/path/matrix/standard/record;a,1,b,2

### Routes_PathParameters_PathExpansion_Explode_array

Expand Down Expand Up @@ -4559,47 +4559,47 @@ Expected path: "/routes/path/reserved-expansion/template/foo/bar%20baz"

Test simple expansion with explode: true when passed an array value.
Param value: ["a","b"]
Expected path: /routes/simple/explode/arraya.b
Expected path: /routes/path/simple/explode/arraya.b

### Routes_PathParameters_SimpleExpansion_Explode_primitive

- Endpoint: `get /routes/path/simple/explode/primitive{param*}`

Test simple expansion with explode: true when passed a primitive value.
Param value: "a"
Expected path: /routes/simple/explode/primitivea
Expected path: /routes/path/simple/explode/primitivea

### Routes_PathParameters_SimpleExpansion_Explode_record

- Endpoint: `get /routes/path/simple/explode/record{param*}`

Test simple expansion with explode: true when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/simple/explode/recorda=1,b=2
Expected path: /routes/path/simple/explode/recorda=1,b=2

### Routes_PathParameters_SimpleExpansion_Standard_array

- Endpoint: `get /routes/path/simple/standard/array{param}`

Test simple expansion with explode: false when passed an array value.
Param value: ["a","b"]
Expected path: /routes/simple/standard/arraya,b
Expected path: /routes/path/simple/standard/arraya,b

### Routes_PathParameters_SimpleExpansion_Standard_primitive

- Endpoint: `get /routes/path/simple/standard/primitive{param}`

Test simple expansion with explode: false when passed a primitive value.
Param value: "a"
Expected path: /routes/simple/standard/primitivea
Expected path: /routes/path/simple/standard/primitivea

### Routes_PathParameters_SimpleExpansion_Standard_record

- Endpoint: `get /routes/path/simple/standard/record{param}`

Test simple expansion with explode: false when passed a record value.
Param value: {a: 1, b: 2}
Expected path: /routes/simple/standard/recorda,1,b,2
Expected path: /routes/path/simple/standard/recorda,1,b,2

### Routes_PathParameters_templateOnly

Expand Down
3 changes: 3 additions & 0 deletions packages/cadl-ranch-specs/http/azure/example/basic/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ using Azure.ClientGenerator.Core;
@route("/azure/example/basic")
namespace Client;

@@clientNamespace(Client, "azure.example.basic", "java");
@@clientNamespace(_Specs_.Azure.Example.Basic, "azure.example.basic", "java");

@client({
name: "AzureExampleClient",
service: _Specs_.Azure.Example.Basic,
Expand Down
Loading

0 comments on commit b1bd079

Please sign in to comment.