Skip to content

Commit e3b7b82

Browse files
oha-4claude
andcommitted
Reformat specs and docs affected by heritage formatter change
Apply the new `is`/`extends` inline formatting (#11009) to committed artifacts that the formatter now reformats: the http-client-java test spec arm-customization.tsp and the 1.11 release-notes embedded example. Whitespace only, no semantic change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c01f73a commit e3b7b82

3 files changed

Lines changed: 16 additions & 8 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http-client-java"
5+
---
6+
7+
Reformat a test spec affected by the compiler formatter change keeping `is`/`extends` inline for multi-argument template references (whitespace only, no semantic change).

packages/http-client-java/generator/http-client-generator-test/tsp/arm-customization.tsp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ enum Versions {
2323
v2023_12_01_preview: "2023-12-01-preview",
2424
}
2525

26-
model Vault
27-
is Azure.ResourceManager.Legacy.TrackedResourceWithOptionalLocation<VaultProperties, false> {
26+
model Vault is Azure.ResourceManager.Legacy.TrackedResourceWithOptionalLocation<
27+
VaultProperties,
28+
false
29+
> {
2830
...ResourceNameParameter<
2931
Resource = Vault,
3032
KeyName = "vaultName",

website/src/content/docs/release-notes/typespec-1-11-0.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ model Example {
3131
description: string;
3232
}
3333
34-
model CreateAndReadExample
35-
is FilterVisibility<
36-
Example,
37-
#{ all: #[Lifecycle.Create, Lifecycle.Read] },
38-
"CreateAndRead{name}"
39-
>;
34+
model CreateAndReadExample is FilterVisibility<
35+
Example,
36+
#{ all: #[Lifecycle.Create, Lifecycle.Read] },
37+
"CreateAndRead{name}"
38+
>;
4039
```
4140

4241
:::caution

0 commit comments

Comments
 (0)