Skip to content

Commit

Permalink
update uint8 senario name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingzhe Huang (from Dev Box) committed Aug 27, 2024
1 parent 9db3918 commit 43c7331
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cadl-ranch-specs/cadl-ranch-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ Expected response body:
}
```

### Encode_Numeric_Property_uint8AsStringOptional
### Encode_Numeric_Property_uint8AsString

- Endpoint: `post /encode/numeric/property/uint8`

Expand Down
2 changes: 1 addition & 1 deletion packages/cadl-ranch-specs/http/encode/numeric/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Property {
alias SendUint8AsString = SendIntAsString<uint8, "255", Uint8AsStringProperty>;

@route("/uint8")
op uint8AsStringOptional is SendUint8AsString.sendIntAsString;
op uint8AsString is SendUint8AsString.sendIntAsString;

model Uint8AsStringProperty {
@encode(string)
Expand Down
2 changes: 1 addition & 1 deletion packages/cadl-ranch-specs/http/encode/numeric/mockapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Scenarios.Encode_Numeric_Property_safeintAsString = passOnSuccess(createProperty

Scenarios.Encode_Numeric_Property_uint32AsStringOptional = passOnSuccess(createPropertyMockApis("uint32", "1"));

Scenarios.Encode_Numeric_Property_uint8AsStringOptional = passOnSuccess(createPropertyMockApis("uint8", "255"));
Scenarios.Encode_Numeric_Property_uint8AsString = passOnSuccess(createPropertyMockApis("uint8", "255"));

0 comments on commit 43c7331

Please sign in to comment.