From 9fd83227c87031ffb9deea14c14467212f5254fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 18:04:03 +0000 Subject: [PATCH 1/4] build(deps): bump core from `3212132` to `feafcd0` Bumps [core](https://github.com/microsoft/typespec) from `3212132` to `feafcd0`. - [Release notes](https://github.com/microsoft/typespec/releases) - [Commits](https://github.com/microsoft/typespec/compare/3212132f9a1c371e15ac08627938b2b25e267c0f...feafcd0e9fc793fac7feb59b2c746599bee5cabf) --- updated-dependencies: - dependency-name: core dependency-version: feafcd0e9fc793fac7feb59b2c746599bee5cabf dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index 3212132f9a..feafcd0e9f 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 3212132f9a1c371e15ac08627938b2b25e267c0f +Subproject commit feafcd0e9fc793fac7feb59b2c746599bee5cabf From db51f2abed23b07ccdec366ab14b274c8146d956 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Jul 2026 18:06:19 +0000 Subject: [PATCH 2/4] Sync catalog and update lockfile --- pnpm-lock.yaml | 72 ++++++++++++++++++++++++++------------------- pnpm-workspace.yaml | 2 +- 2 files changed, 42 insertions(+), 32 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 398d5cd29f..ddb0283813 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -412,8 +412,8 @@ catalogs: specifier: 1.0.0-alpha.6 version: 1.0.0-alpha.6 prettier: - specifier: ^3.8.1 - version: 3.8.4 + specifier: ^3.9.5 + version: 3.9.5 prettier-plugin-astro: specifier: ^0.14.1 version: 0.14.1 @@ -604,16 +604,16 @@ importers: version: 1.61.0 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 prettier-plugin-astro: specifier: 'catalog:' version: 0.14.1 prettier-plugin-organize-imports: specifier: 'catalog:' - version: 4.3.0(prettier@3.8.4)(typescript@6.0.3) + version: 4.3.0(prettier@3.9.5)(typescript@6.0.3) prettier-plugin-sh: specifier: 'catalog:' - version: 0.18.1(prettier@3.8.4) + version: 0.18.1(prettier@3.9.5) rimraf: specifier: 'catalog:' version: 6.1.3 @@ -668,6 +668,9 @@ importers: cspell: specifier: 'catalog:' version: 10.0.1 + execa: + specifier: 'catalog:' + version: 9.6.1 micromatch: specifier: 'catalog:' version: 4.0.8 @@ -685,16 +688,16 @@ importers: version: 1.61.0 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 prettier-plugin-astro: specifier: 'catalog:' version: 0.14.1 prettier-plugin-organize-imports: specifier: 'catalog:' - version: 4.3.0(prettier@3.8.4)(typescript@6.0.3) + version: 4.3.0(prettier@3.9.5)(typescript@6.0.3) prettier-plugin-sh: specifier: 'catalog:' - version: 0.18.1(prettier@3.8.4) + version: 0.18.1(prettier@3.9.5) rimraf: specifier: 'catalog:' version: 6.1.3 @@ -742,7 +745,7 @@ importers: dependencies: '@astrojs/check': specifier: 'catalog:' - version: 0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.8.4)(typescript@6.0.3) + version: 0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.9.5)(typescript@6.0.3) '@astrojs/starlight': specifier: 'catalog:' version: 0.40.0(astro@7.0.2(@astrojs/markdown-remark@7.2.0)(@azure/identity@4.13.1)(@azure/storage-blob@12.32.0)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.0.0)(tsx@4.22.4)(yaml@2.9.0))(typescript@6.0.3) @@ -910,7 +913,7 @@ importers: version: 1.1.1 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 semver: specifier: 'catalog:' version: 7.8.5 @@ -1014,7 +1017,7 @@ importers: version: 2.0.3 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 tree-sitter-c-sharp: specifier: 'catalog:' version: 0.23.5 @@ -1257,7 +1260,7 @@ importers: version: 10.0.3 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 core/packages/http-client: devDependencies: @@ -1320,7 +1323,7 @@ importers: version: link:../rest prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 devDependencies: '@alloy-js/cli': specifier: 'catalog:' @@ -1499,7 +1502,7 @@ importers: dependencies: prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 yaml: specifier: 'catalog:' version: 2.9.0 @@ -1804,7 +1807,7 @@ importers: version: 10.0.3 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 core/packages/openapi: devDependencies: @@ -2219,7 +2222,7 @@ importers: dependencies: prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 devDependencies: '@typespec/compiler': specifier: workspace:^ @@ -2841,7 +2844,7 @@ importers: version: 1.1.1 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 typedoc: specifier: 'catalog:' version: 0.28.19(typescript@6.0.3) @@ -4008,7 +4011,7 @@ importers: version: 5.9.3 prettier: specifier: 'catalog:' - version: 3.8.4 + version: 3.9.5 ts-morph: specifier: 'catalog:' version: 23.0.0 @@ -4114,7 +4117,7 @@ importers: dependencies: '@astrojs/check': specifier: 'catalog:' - version: 0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.8.4)(typescript@6.0.3) + version: 0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.9.5)(typescript@6.0.3) '@astrojs/react': specifier: 'catalog:' version: 6.0.0(@types/node@26.0.0)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(esbuild@0.28.1)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tsx@4.22.4)(yaml@2.9.0) @@ -12641,6 +12644,11 @@ packages: engines: {node: '>=14'} hasBin: true + prettier@3.9.5: + resolution: {integrity: sha512-/FVl766LpUfB5vXgCYOYa0MeV/441Ia99AeICQIQFTY/Nw0roZwULcXpku5i1/m5kt/baz+s4Zogspd839HSMg==} + engines: {node: '>=14'} + hasBin: true + pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} engines: {node: '>=6'} @@ -15006,9 +15014,9 @@ snapshots: '@csstools/css-tokenizer': 3.0.4 lru-cache: 10.4.3 - '@astrojs/check@0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.8.4)(typescript@6.0.3)': + '@astrojs/check@0.9.9(prettier-plugin-astro@0.14.1)(prettier@3.9.5)(typescript@6.0.3)': dependencies: - '@astrojs/language-server': 2.16.10(prettier-plugin-astro@0.14.1)(prettier@3.8.4)(typescript@6.0.3) + '@astrojs/language-server': 2.16.10(prettier-plugin-astro@0.14.1)(prettier@3.9.5)(typescript@6.0.3) chokidar: 4.0.3 kleur: 4.1.5 typescript: 6.0.3 @@ -15084,7 +15092,7 @@ snapshots: smol-toml: 1.7.0 unified: 11.0.5 - '@astrojs/language-server@2.16.10(prettier-plugin-astro@0.14.1)(prettier@3.8.4)(typescript@6.0.3)': + '@astrojs/language-server@2.16.10(prettier-plugin-astro@0.14.1)(prettier@3.9.5)(typescript@6.0.3)': dependencies: '@astrojs/compiler': 2.13.1 '@astrojs/yaml2ts': 0.2.4 @@ -15098,14 +15106,14 @@ snapshots: volar-service-css: 0.0.70(@volar/language-service@2.4.28) volar-service-emmet: 0.0.70(@volar/language-service@2.4.28) volar-service-html: 0.0.70(@volar/language-service@2.4.28) - volar-service-prettier: 0.0.70(@volar/language-service@2.4.28)(prettier@3.8.4) + volar-service-prettier: 0.0.70(@volar/language-service@2.4.28)(prettier@3.9.5) volar-service-typescript: 0.0.70(@volar/language-service@2.4.28) volar-service-typescript-twoslash-queries: 0.0.70(@volar/language-service@2.4.28) volar-service-yaml: 0.0.70(@volar/language-service@2.4.28) vscode-html-languageservice: 5.6.2 vscode-uri: 3.1.0 optionalDependencies: - prettier: 3.8.4 + prettier: 3.9.5 prettier-plugin-astro: 0.14.1 transitivePeerDependencies: - typescript @@ -25609,22 +25617,24 @@ snapshots: prettier-plugin-astro@0.14.1: dependencies: '@astrojs/compiler': 2.13.1 - prettier: 3.8.4 + prettier: 3.9.5 sass-formatter: 0.7.9 - prettier-plugin-organize-imports@4.3.0(prettier@3.8.4)(typescript@6.0.3): + prettier-plugin-organize-imports@4.3.0(prettier@3.9.5)(typescript@6.0.3): dependencies: - prettier: 3.8.4 + prettier: 3.9.5 typescript: 6.0.3 - prettier-plugin-sh@0.18.1(prettier@3.8.4): + prettier-plugin-sh@0.18.1(prettier@3.9.5): dependencies: '@reteps/dockerfmt': 0.5.2 - prettier: 3.8.4 + prettier: 3.9.5 sh-syntax: 0.5.8 prettier@3.8.4: {} + prettier@3.9.5: {} + pretty-bytes@5.6.0: {} pretty-format@27.5.1: @@ -27593,12 +27603,12 @@ snapshots: optionalDependencies: '@volar/language-service': 2.4.28 - volar-service-prettier@0.0.70(@volar/language-service@2.4.28)(prettier@3.8.4): + volar-service-prettier@0.0.70(@volar/language-service@2.4.28)(prettier@3.9.5): dependencies: vscode-uri: 3.1.0 optionalDependencies: '@volar/language-service': 2.4.28 - prettier: 3.8.4 + prettier: 3.9.5 volar-service-typescript-twoslash-queries@0.0.70(@volar/language-service@2.4.28): dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 97d2a9018f..8104948c8b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -158,7 +158,7 @@ catalog: plist: ^5.0.0 pluralize: ^8.0.0 postject: "1.0.0-alpha.6" - prettier: ^3.8.1 + prettier: ^3.9.5 prettier-plugin-astro: ^0.14.1 prettier-plugin-organize-imports: ^4.3.0 prettier-plugin-sh: ^0.18.1 From ab8b8abea73f9ddef506d09a62f8fd6830128a85 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Jul 2026 14:15:23 -0400 Subject: [PATCH 3/4] Format --- .../src/json-schema-sorter/sorter.ts | 5 +- packages/typespec-autorest/src/types.ts | 3 +- .../private/arm-resource-identifier-config.ts | 7 +-- .../typespec-azure-core/src/lro-helpers.ts | 10 ++-- .../Azure.ResourceManager.Private.ts | 32 ++----------- .../src/operations.ts | 6 +-- .../src/private.decorators.ts | 48 +++---------------- .../src/resource.ts | 8 +--- .../src/decorators.ts | 9 ++-- .../src/interfaces.ts | 11 +---- .../src/internal-utils.ts | 10 +--- .../src/methods.ts | 19 ++++---- .../src/types.ts | 3 +- .../test/decorators/client-location.test.ts | 6 +-- .../typespec-go/src/codegen/fake/servers.ts | 6 +-- packages/typespec-go/src/codemodel/client.ts | 5 +- packages/typespec-go/src/codemodel/param.ts | 18 ++----- packages/typespec-go/src/codemodel/type.ts | 6 +-- .../typespec-go/src/tcgcadapter/clients.ts | 4 +- .../developer/parameter-transformation.md | 4 +- .../typespec-ts/src/modular/emit-models.ts | 14 +----- .../src/modular/helpers/client-helpers.ts | 5 +- .../static/static-helpers/multipartHelpers.ts | 6 +-- .../scenarios/enum-union/enumUnion.md | 32 ++++--------- .../models/deserialization/extends.md | 18 ++----- .../experimentalExtensibleEnumsFalse.md | 7 +-- .../docs/emitters/typespec-autorest/index.md | 5 +- 27 files changed, 63 insertions(+), 244 deletions(-) diff --git a/packages/typespec-autorest/src/json-schema-sorter/sorter.ts b/packages/typespec-autorest/src/json-schema-sorter/sorter.ts index 1859fa5785..8d4f8de829 100644 --- a/packages/typespec-autorest/src/json-schema-sorter/sorter.ts +++ b/packages/typespec-autorest/src/json-schema-sorter/sorter.ts @@ -8,10 +8,7 @@ export type JsonSchema = { export type ResolvedJsonSchemaType = Exclude; export type JsonSchemaType = - | JsonSchemaObject - | JsonSchemaArray - | JsonSchemaPrimitive - | JsonSchemaRef; + JsonSchemaObject | JsonSchemaArray | JsonSchemaPrimitive | JsonSchemaRef; export interface JsonSchemaBase { $id?: string; diff --git a/packages/typespec-autorest/src/types.ts b/packages/typespec-autorest/src/types.ts index aa1cebb4d4..52bd584a30 100644 --- a/packages/typespec-autorest/src/types.ts +++ b/packages/typespec-autorest/src/types.ts @@ -24,8 +24,7 @@ import type { * a particular service definition. */ export type AutorestServiceRecord = - | AutorestUnversionedServiceRecord - | AutorestVersionedServiceRecord; + AutorestUnversionedServiceRecord | AutorestVersionedServiceRecord; export interface AutorestUnversionedServiceRecord extends AutorestEmitterResult { /** The service that generated this OpenAPI document */ diff --git a/packages/typespec-azure-core/src/decorators/private/arm-resource-identifier-config.ts b/packages/typespec-azure-core/src/decorators/private/arm-resource-identifier-config.ts index 41e3f76968..7534a32c68 100644 --- a/packages/typespec-azure-core/src/decorators/private/arm-resource-identifier-config.ts +++ b/packages/typespec-azure-core/src/decorators/private/arm-resource-identifier-config.ts @@ -8,12 +8,7 @@ export interface ArmResourceIdentifierConfig { } export type ArmResourceDeploymentScope = - | "Tenant" - | "Subscription" - | "ResourceGroup" - | "ManagementGroup" - | "ServiceGroup" - | "Extension"; + "Tenant" | "Subscription" | "ResourceGroup" | "ManagementGroup" | "ServiceGroup" | "Extension"; export interface ArmResourceIdentifierAllowedResource { /** The type of resource that is being referred to. For example Microsoft.Network/virtualNetworks or Microsoft.Network/virtualNetworks/subnets. See Example Types for more examples. */ diff --git a/packages/typespec-azure-core/src/lro-helpers.ts b/packages/typespec-azure-core/src/lro-helpers.ts index e0e9a1018c..8199156e86 100644 --- a/packages/typespec-azure-core/src/lro-helpers.ts +++ b/packages/typespec-azure-core/src/lro-helpers.ts @@ -185,10 +185,7 @@ export interface NextOperationReference extends LogicalOperationStep { * getting to a success result */ export type FinalOperationStep = - | FinalOperationLink - | FinalOperationReference - | PollingSuccessProperty - | NoPollingSuccessProperty; + FinalOperationLink | FinalOperationReference | PollingSuccessProperty | NoPollingSuccessProperty; /** * For long-running operations, the resource link to the final result @@ -296,9 +293,8 @@ export function getLroMetadata(program: Program, operation: Operation): LroMetad processFinalReference(program, operation, context); processFinalLink(program, operation, context); const nextReference: - | NextOperationReference - | (NextOperationLink & { operation: Operation }) - | undefined = processStatusMonitorReference(program, operation, context); + NextOperationReference | (NextOperationLink & { operation: Operation }) | undefined = + processStatusMonitorReference(program, operation, context); if (nextReference !== undefined && nextReference.responseModel.kind === "Model") { context.statusMonitorStep = nextReference; const linkedOperation = diff --git a/packages/typespec-azure-resource-manager/generated-defs/Azure.ResourceManager.Private.ts b/packages/typespec-azure-resource-manager/generated-defs/Azure.ResourceManager.Private.ts index a133b60ac1..98c521b518 100644 --- a/packages/typespec-azure-resource-manager/generated-defs/Azure.ResourceManager.Private.ts +++ b/packages/typespec-azure-resource-manager/generated-defs/Azure.ResourceManager.Private.ts @@ -239,13 +239,7 @@ export type LegacyResourceOperationDecorator = ( target: Operation, resourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => DecoratorValidatorCallbacks | void; @@ -264,13 +258,7 @@ export type ExtensionResourceOperationDecorator = ( targetResourceType: Model, extensionResourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => DecoratorValidatorCallbacks | void; @@ -289,13 +277,7 @@ export type BuiltInResourceOperationDecorator = ( parentResourceType: Model, builtInResourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => DecoratorValidatorCallbacks | void; @@ -312,13 +294,7 @@ export type LegacyExtensionResourceOperationDecorator = ( target: Operation, resourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => DecoratorValidatorCallbacks | void; diff --git a/packages/typespec-azure-resource-manager/src/operations.ts b/packages/typespec-azure-resource-manager/src/operations.ts index eccf91d81e..c3be098615 100644 --- a/packages/typespec-azure-resource-manager/src/operations.ts +++ b/packages/typespec-azure-resource-manager/src/operations.ts @@ -55,11 +55,7 @@ import { import { ArmStateKeys } from "./state.js"; export type ArmLifecycleOperationKind = - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "checkExistence"; + "read" | "createOrUpdate" | "update" | "delete" | "checkExistence"; export type ArmOperationKind = ArmLifecycleOperationKind | "list" | "action" | "other"; export interface ArmResourceOperation extends ArmResourceOperationData { diff --git a/packages/typespec-azure-resource-manager/src/private.decorators.ts b/packages/typespec-azure-resource-manager/src/private.decorators.ts index 2e4f16c420..7950255d2b 100644 --- a/packages/typespec-azure-resource-manager/src/private.decorators.ts +++ b/packages/typespec-azure-resource-manager/src/private.decorators.ts @@ -768,13 +768,7 @@ function callOperationDecorator( resourceType: Model, resourceName: string, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", ): void { switch (operationType) { case "read": @@ -806,13 +800,7 @@ function callLifecycleDecorator( target: Operation, resourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", ): void { switch (operationType) { case "read": @@ -842,13 +830,7 @@ const $extensionResourceOperation: ExtensionResourceOperationDecorator = ( targetResourceType: Model, extensionResourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => { if ( @@ -879,13 +861,7 @@ const $builtInResourceOperation: BuiltInResourceOperationDecorator = ( parentResourceType: Model, builtInResourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => { if ( @@ -907,13 +883,7 @@ const $legacyResourceOperation: LegacyResourceOperationDecorator = ( target: Operation, resourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => { if ( @@ -979,13 +949,7 @@ const $legacyExtensionResourceOperation: LegacyExtensionResourceOperationDecorat target: Operation, resourceType: Model, operationType: - | "read" - | "createOrUpdate" - | "update" - | "delete" - | "list" - | "action" - | "checkExistence", + "read" | "createOrUpdate" | "update" | "delete" | "list" | "action" | "checkExistence", resourceName?: string, ) => { if ( diff --git a/packages/typespec-azure-resource-manager/src/resource.ts b/packages/typespec-azure-resource-manager/src/resource.ts index 91d5f31b80..ef2b673e8c 100644 --- a/packages/typespec-azure-resource-manager/src/resource.ts +++ b/packages/typespec-azure-resource-manager/src/resource.ts @@ -74,13 +74,7 @@ import { getArmResource, listArmResources, registerArmResource } from "./private import { ArmStateKeys } from "./state.js"; export type ArmResourceKind = - | "Tracked" - | "Proxy" - | "Extension" - | "Virtual" - | "Custom" - | "BuiltIn" - | "Generic"; + "Tracked" | "Proxy" | "Extension" | "Virtual" | "Custom" | "BuiltIn" | "Generic"; /** * The base details for all kinds of resources diff --git a/packages/typespec-client-generator-core/src/decorators.ts b/packages/typespec-client-generator-core/src/decorators.ts index ee40c602be..31aff69646 100644 --- a/packages/typespec-client-generator-core/src/decorators.ts +++ b/packages/typespec-client-generator-core/src/decorators.ts @@ -1884,8 +1884,7 @@ export function getClientOptionValue( ): unknown | undefined { // Check operation directly const opOption = getScopedDecoratorData(context, clientOptionKey, target) as - | { name: string; value: unknown } - | undefined; + { name: string; value: unknown } | undefined; if (opOption?.name === optionName) { return opOption.value; } @@ -1893,8 +1892,7 @@ export function getClientOptionValue( // Check interface if operation is in one if (target.interface) { const ifaceOption = getScopedDecoratorData(context, clientOptionKey, target.interface) as - | { name: string; value: unknown } - | undefined; + { name: string; value: unknown } | undefined; if (ifaceOption?.name === optionName) { return ifaceOption.value; } @@ -1904,8 +1902,7 @@ export function getClientOptionValue( let ns = target.namespace; while (ns) { const nsOption = getScopedDecoratorData(context, clientOptionKey, ns) as - | { name: string; value: unknown } - | undefined; + { name: string; value: unknown } | undefined; if (nsOption?.name === optionName) { return nsOption.value; } diff --git a/packages/typespec-client-generator-core/src/interfaces.ts b/packages/typespec-client-generator-core/src/interfaces.ts index 8e3d7fd802..4f4e156d2b 100644 --- a/packages/typespec-client-generator-core/src/interfaces.ts +++ b/packages/typespec-client-generator-core/src/interfaces.ts @@ -647,10 +647,7 @@ export interface SdkModelPropertyTypeBase< } export type ArrayKnownEncoding = - | "pipeDelimited" - | "spaceDelimited" - | "commaDelimited" - | "newlineDelimited"; + "pipeDelimited" | "spaceDelimited" | "commaDelimited" | "newlineDelimited"; /** * Options to show how to serialize a model/property. @@ -920,11 +917,7 @@ export interface SdkBodyParameter extends SdkModelPropertyTypeBase { } export type SdkHttpParameter = - | SdkQueryParameter - | SdkPathParameter - | SdkBodyParameter - | SdkHeaderParameter - | SdkCookieParameter; + SdkQueryParameter | SdkPathParameter | SdkBodyParameter | SdkHeaderParameter | SdkCookieParameter; export interface SdkMethodParameter extends SdkModelPropertyTypeBase { kind: "method"; diff --git a/packages/typespec-client-generator-core/src/internal-utils.ts b/packages/typespec-client-generator-core/src/internal-utils.ts index 4c896eb5f0..5952a06003 100644 --- a/packages/typespec-client-generator-core/src/internal-utils.ts +++ b/packages/typespec-client-generator-core/src/internal-utils.ts @@ -544,15 +544,7 @@ export function getTypeDecorators( function getDecoratorArgValue( context: TCGCContext, arg: - | Type - | Record - | Value - | unknown[] - | string - | number - | boolean - | Numeric - | null, + Type | Record | Value | unknown[] | string | number | boolean | Numeric | null, type: Type, decoratorName: string, ): [any, readonly Diagnostic[]] { diff --git a/packages/typespec-client-generator-core/src/methods.ts b/packages/typespec-client-generator-core/src/methods.ts index 03588f8eca..89ba6925c6 100644 --- a/packages/typespec-client-generator-core/src/methods.ts +++ b/packages/typespec-client-generator-core/src/methods.ts @@ -212,8 +212,8 @@ function getSdkPagingServiceMethod context.__modelPropertyCache.get(resultSegment)!, + baseServiceMethod.response.resultSegments = resultSegments?.map((resultSegment) => + context.__modelPropertyCache.get(resultSegment)!, ); context.__pagedResultSet.add(responseType); @@ -254,14 +254,13 @@ function getSdkPagingServiceMethod - getPropertySegmentsFromModelOrParameters( - baseServiceMethod.parameters, - (p) => - p.__raw?.kind === "ModelProperty" && - findRootSourceProperty(p.__raw) === findRootSourceProperty(t), - )!, + ).map((t: ModelProperty) => + getPropertySegmentsFromModelOrParameters( + baseServiceMethod.parameters, + (p) => + p.__raw?.kind === "ModelProperty" && + findRootSourceProperty(p.__raw) === findRootSourceProperty(t), + )!, ) : undefined, }, diff --git a/packages/typespec-client-generator-core/src/types.ts b/packages/typespec-client-generator-core/src/types.ts index 54a3ff101b..377a9077ac 100644 --- a/packages/typespec-client-generator-core/src/types.ts +++ b/packages/typespec-client-generator-core/src/types.ts @@ -935,8 +935,7 @@ export function getSdkModelWithDiagnostics( const rawBaseModel = getLegacyHierarchyBuilding(context, type) || type.baseModel; if (rawBaseModel) { sdkType.baseModel = context.__referencedTypeCache.get(rawBaseModel) as - | SdkModelType - | undefined; + SdkModelType | undefined; if (sdkType.baseModel === undefined) { // Use "AdditionalProperty" label for Record base models diff --git a/packages/typespec-client-generator-core/test/decorators/client-location.test.ts b/packages/typespec-client-generator-core/test/decorators/client-location.test.ts index e850070aa2..4673978589 100644 --- a/packages/typespec-client-generator-core/test/decorators/client-location.test.ts +++ b/packages/typespec-client-generator-core/test/decorators/client-location.test.ts @@ -1203,16 +1203,14 @@ describe("Parameter", () => { // The foo method should NOT have subscriptionId as a method parameter (it's on client) const fooMethod = client.methods.find((m) => m.name === "foo") as - | SdkServiceMethod - | undefined; + SdkServiceMethod | undefined; ok(fooMethod); const fooSubIdMethodParam = fooMethod.parameters.find((p) => p.name === "subscriptionId"); ok(!fooSubIdMethodParam); // The bar method SHOULD have subscriptionId as a method parameter (moved to method level) const barMethod = client.methods.find((m) => m.name === "bar") as - | SdkServiceMethod - | undefined; + SdkServiceMethod | undefined; ok(barMethod); const barSubIdMethodParam = barMethod.parameters.find((p) => p.name === "subscriptionId"); ok(barSubIdMethodParam); diff --git a/packages/typespec-go/src/codegen/fake/servers.ts b/packages/typespec-go/src/codegen/fake/servers.ts index 04615fdad2..8ab1a88350 100644 --- a/packages/typespec-go/src/codegen/fake/servers.ts +++ b/packages/typespec-go/src/codegen/fake/servers.ts @@ -1705,11 +1705,7 @@ function getAPIParametersSig( // copied from generator/helpers.ts but without the XML-specific stuff function getResultFieldName( result: - | go.AnyResult - | go.BinaryResult - | go.MonomorphicResult - | go.PolymorphicResult - | go.ModelResult, + go.AnyResult | go.BinaryResult | go.MonomorphicResult | go.PolymorphicResult | go.ModelResult, ): string { switch (result.kind) { case "anyResult": diff --git a/packages/typespec-go/src/codemodel/client.ts b/packages/typespec-go/src/codemodel/client.ts index 315bef2d7a..5706195e9a 100644 --- a/packages/typespec-go/src/codemodel/client.ts +++ b/packages/typespec-go/src/codemodel/client.ts @@ -181,10 +181,7 @@ export function isAPIVersionParameter(param: ClientParameter): boolean { /** the possible values defining the "final state via" behavior for LROs */ export type FinalStateVia = - | "azure-async-operation" - | "location" - | "operation-location" - | "original-uri"; + "azure-async-operation" | "location" | "operation-location" | "original-uri"; /** the supported HTTP verbs */ export type HTTPMethod = "delete" | "get" | "head" | "patch" | "post" | "put"; diff --git a/packages/typespec-go/src/codemodel/param.ts b/packages/typespec-go/src/codemodel/param.ts index e67fec12a7..6031131f9c 100644 --- a/packages/typespec-go/src/codemodel/param.ts +++ b/packages/typespec-go/src/codemodel/param.ts @@ -17,9 +17,7 @@ export type FormBodyParameter = FormBodyCollectionParameter | FormBodyScalarPara /** the union of all header parameter types */ export type HeaderParameter = - | HeaderCollectionParameter - | HeaderMapParameter - | HeaderScalarParameter; + HeaderCollectionParameter | HeaderMapParameter | HeaderScalarParameter; /** the union of all path parameter types */ export type PathParameter = PathCollectionParameter | PathScalarParameter; @@ -249,12 +247,7 @@ export interface PathScalarParameter extends HttpParameterBase { /** defines the possible types for a PathScalarParameter */ export type PathScalarParameterType = - | type.Constant - | type.EncodedBytes - | type.Literal - | type.Scalar - | type.String - | type.Time; + type.Constant | type.EncodedBytes | type.Literal | type.Scalar | type.String | type.Time; /** a reference to an existing parameter */ export interface ParameterRef { @@ -303,12 +296,7 @@ export interface QueryScalarParameter extends HttpParameterBase { /** defines the possible types for a QueryScalarParameter */ export type QueryScalarParameterType = - | type.Constant - | type.EncodedBytes - | type.Literal - | type.Scalar - | type.String - | type.Time; + type.Constant | type.EncodedBytes | type.Literal | type.Scalar | type.String | type.Time; /** the synthesized resume token parameter for LROs */ export interface ResumeTokenParameter extends HttpParameterBase { diff --git a/packages/typespec-go/src/codemodel/type.ts b/packages/typespec-go/src/codemodel/type.ts index e11cc9a73c..dfa517bbdb 100644 --- a/packages/typespec-go/src/codemodel/type.ts +++ b/packages/typespec-go/src/codemodel/type.ts @@ -22,11 +22,7 @@ export interface Docs { /** defines types used in generated code but do not go across the wire */ export type SdkType = - | ArmClientOptions - | ClientOptions - | ParameterGroup - | ResponseEnvelope - | TokenCredential; + ArmClientOptions | ClientOptions | ParameterGroup | ResponseEnvelope | TokenCredential; /** defines types that go across the wire */ export type WireType = diff --git a/packages/typespec-go/src/tcgcadapter/clients.ts b/packages/typespec-go/src/tcgcadapter/clients.ts index 297dee7384..79c955874b 100644 --- a/packages/typespec-go/src/tcgcadapter/clients.ts +++ b/packages/typespec-go/src/tcgcadapter/clients.ts @@ -1344,9 +1344,7 @@ export class ClientAdapter { const paramLoc = opParam.onClient ? "client" : "method"; let apiVersionParam: - | go.HeaderScalarParameter - | go.PathScalarParameter - | go.QueryScalarParameter; + go.HeaderScalarParameter | go.PathScalarParameter | go.QueryScalarParameter; switch (opParam.kind) { case "header": apiVersionParam = new go.HeaderScalarParameter( diff --git a/packages/typespec-java/docs/developer/parameter-transformation.md b/packages/typespec-java/docs/developer/parameter-transformation.md index f57e00e357..6b89ab2b5f 100644 --- a/packages/typespec-java/docs/developer/parameter-transformation.md +++ b/packages/typespec-java/docs/developer/parameter-transformation.md @@ -25,7 +25,7 @@ Sample of `VirtualParameter`: language: default: name: user - description: '' + description: "" serializedName: user protocol: {} schema: *ref_2 @@ -33,7 +33,7 @@ language: language: default: name: request - description: '' + description: "" protocol: http: in: body diff --git a/packages/typespec-ts/src/modular/emit-models.ts b/packages/typespec-ts/src/modular/emit-models.ts index db6b24f1dd..0e2fc6fd9c 100644 --- a/packages/typespec-ts/src/modular/emit-models.ts +++ b/packages/typespec-ts/src/modular/emit-models.ts @@ -95,12 +95,7 @@ type InterfaceStructure = OptionalKind & { function isGenerableType( type: SdkType, ): type is - | SdkModelType - | SdkEnumType - | SdkUnionType - | SdkDictionaryType - | SdkArrayType - | SdkNullableType { + SdkModelType | SdkEnumType | SdkUnionType | SdkDictionaryType | SdkArrayType | SdkNullableType { return ( type.kind === "model" || type.kind === "enum" || @@ -808,12 +803,7 @@ export function getAdditionalPropertiesName(context: SdkContext, model: SdkModel export function normalizeModelName( context: SdkContext, type: - | SdkModelType - | SdkEnumType - | SdkUnionType - | SdkArrayType - | SdkDictionaryType - | SdkNullableType, + SdkModelType | SdkEnumType | SdkUnionType | SdkArrayType | SdkDictionaryType | SdkNullableType, nameType: NameType = NameType.Interface, skipPolymorphicUnionSuffix = false, rawModelName?: boolean, diff --git a/packages/typespec-ts/src/modular/helpers/client-helpers.ts b/packages/typespec-ts/src/modular/helpers/client-helpers.ts index e3efbcafed..a7201d73fa 100644 --- a/packages/typespec-ts/src/modular/helpers/client-helpers.ts +++ b/packages/typespec-ts/src/modular/helpers/client-helpers.ts @@ -27,10 +27,7 @@ interface ClientParameterOptions { } type SdkParameter = - | SdkMethodParameter - | SdkEndpointParameter - | SdkCredentialParameter - | SdkHttpParameter; + SdkMethodParameter | SdkEndpointParameter | SdkCredentialParameter | SdkHttpParameter; export function hasDefaultValue(p: SdkParameter) { if (p.clientDefaultValue || p.__raw?.defaultValue || p.type.kind === "constant") { diff --git a/packages/typespec-ts/static/static-helpers/multipartHelpers.ts b/packages/typespec-ts/static/static-helpers/multipartHelpers.ts index f767bb62dd..6dedb85ef6 100644 --- a/packages/typespec-ts/static/static-helpers/multipartHelpers.ts +++ b/packages/typespec-ts/static/static-helpers/multipartHelpers.ts @@ -4,11 +4,7 @@ import { NodeReadableStream } from "./platform-types.js"; * Valid values for the contents of a binary file. */ export type FileContents = - | string - | NodeReadableStream - | ReadableStream - | Uint8Array - | Blob; + string | NodeReadableStream | ReadableStream | Uint8Array | Blob; export function createFilePartDescriptor( partName: string, diff --git a/packages/typespec-ts/test/modular-unit/scenarios/enum-union/enumUnion.md b/packages/typespec-ts/test/modular-unit/scenarios/enum-union/enumUnion.md index 9a3857639e..62ff12bfba 100644 --- a/packages/typespec-ts/test/modular-unit/scenarios/enum-union/enumUnion.md +++ b/packages/typespec-ts/test/modular-unit/scenarios/enum-union/enumUnion.md @@ -239,10 +239,7 @@ withRawContent: true /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /** Alias for SchemaContentTypeValues */ export type SchemaContentTypeValues = - | JsonContentType - | "text/plain; charset=utf-8" - | "text/vnd.ms.protobuf" - | string; + JsonContentType | "text/plain; charset=utf-8" | "text/vnd.ms.protobuf" | string; export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues): any { return item; @@ -250,8 +247,7 @@ export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues) /** Type of JsonContentType */ export type JsonContentType = - | "application/json; serialization=Avro" - | "application/json; serialization=json"; + "application/json; serialization=Avro" | "application/json; serialization=json"; ``` # union contains enum with string element @@ -303,10 +299,7 @@ withRawContent: true /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /** Alias for SchemaContentTypeValues */ export type SchemaContentTypeValues = - | JsonContentType - | "text/plain; charset=utf-8" - | "text/vnd.ms.protobuf" - | string; + JsonContentType | "text/plain; charset=utf-8" | "text/vnd.ms.protobuf" | string; export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues): any { return item; @@ -314,8 +307,7 @@ export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues) /** Type of JsonContentType */ export type JsonContentType = - | "application/json; serialization=Avro" - | "application/json; serialization=json"; + "application/json; serialization=Avro" | "application/json; serialization=json"; ``` # union with string as extensible enum @@ -412,10 +404,7 @@ withRawContent: true /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /** Alias for SchemaContentTypeValues */ export type SchemaContentTypeValues = - | JsonContentType - | "text/plain; charset=utf-8" - | "text/vnd.ms.protobuf" - | string; + JsonContentType | "text/plain; charset=utf-8" | "text/vnd.ms.protobuf" | string; export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues): any { return item; @@ -423,8 +412,7 @@ export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues) /** Type of JsonContentType */ export type JsonContentType = - | "application/json; serialization=Avro" - | "application/json; serialization=json"; + "application/json; serialization=Avro" | "application/json; serialization=json"; ``` # union contains enum with string element @@ -476,10 +464,7 @@ withRawContent: true /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /** Alias for SchemaContentTypeValues */ export type SchemaContentTypeValues = - | JsonContentType - | "text/plain; charset=utf-8" - | "text/vnd.ms.protobuf" - | string; + JsonContentType | "text/plain; charset=utf-8" | "text/vnd.ms.protobuf" | string; export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues): any { return item; @@ -487,8 +472,7 @@ export function schemaContentTypeValuesSerializer(item: SchemaContentTypeValues) /** Type of JsonContentType */ export type JsonContentType = - | "application/json; serialization=Avro" - | "application/json; serialization=json"; + "application/json; serialization=Avro" | "application/json; serialization=json"; ``` # anonymous union with "|" fixed in regular headers diff --git a/packages/typespec-ts/test/modular-unit/scenarios/models/deserialization/extends.md b/packages/typespec-ts/test/modular-unit/scenarios/models/deserialization/extends.md index cb1efb060f..20eae8a734 100644 --- a/packages/typespec-ts/test/modular-unit/scenarios/models/deserialization/extends.md +++ b/packages/typespec-ts/test/modular-unit/scenarios/models/deserialization/extends.md @@ -190,10 +190,7 @@ export function discountTypePropertiesDeserializer(item: any): DiscountTypePrope /** Alias for DiscountTypePropertiesUnion */ export type DiscountTypePropertiesUnion = - | DiscountTypeProductFamily - | DiscountTypeProduct - | DiscountTypeProductSku - | DiscountTypeProperties; + DiscountTypeProductFamily | DiscountTypeProduct | DiscountTypeProductSku | DiscountTypeProperties; export function discountTypePropertiesUnionDeserializer(item: any): DiscountTypePropertiesUnion { switch (item["discountType"]) { @@ -213,11 +210,7 @@ export function discountTypePropertiesUnionDeserializer(item: any): DiscountType /** Type of DiscountType */ export type DiscountType = - | "ProductFamily" - | "Product" - | "Sku" - | "CustomPrice" - | "CustomPriceMultiCurrency"; + "ProductFamily" | "Product" | "Sku" | "CustomPrice" | "CustomPriceMultiCurrency"; /** model interface DiscountTypeProductFamily */ export interface DiscountTypeProductFamily extends DiscountTypeProperties { @@ -400,12 +393,7 @@ export function documentIngressUnionDeserializer(item: any): DocumentIngressUnio /** Document type */ export type DocumentType = - | "Request" - | "RemoteDependency" - | "Exception" - | "Event" - | "Trace" - | "Unknown"; + "Request" | "RemoteDependency" | "Exception" | "Event" | "Trace" | "Unknown"; /** model interface Request */ export interface Request extends DocumentIngress { diff --git a/packages/typespec-ts/test/modular-unit/scenarios/models/nested-enum/not-flatten/experimentalExtensibleEnumsFalse.md b/packages/typespec-ts/test/modular-unit/scenarios/models/nested-enum/not-flatten/experimentalExtensibleEnumsFalse.md index 6be26c1c5e..2a617ffef5 100644 --- a/packages/typespec-ts/test/modular-unit/scenarios/models/nested-enum/not-flatten/experimentalExtensibleEnumsFalse.md +++ b/packages/typespec-ts/test/modular-unit/scenarios/models/nested-enum/not-flatten/experimentalExtensibleEnumsFalse.md @@ -81,12 +81,7 @@ export function _fooRequestBodySerializer(item: _FooRequestBody): any { /** The resource provisioning state. */ export type ProvisioningState = - | ResourceProvisioningState - | "Provisioning" - | "Updating" - | "Deleting" - | "Accepted" - | string; + ResourceProvisioningState | "Provisioning" | "Updating" | "Deleting" | "Accepted" | string; export function provisioningStateSerializer(item: ProvisioningState): any { return item; diff --git a/website/src/content/docs/docs/emitters/typespec-autorest/index.md b/website/src/content/docs/docs/emitters/typespec-autorest/index.md index 25a7b6bdce..4f129fd0d0 100644 --- a/website/src/content/docs/docs/emitters/typespec-autorest/index.md +++ b/website/src/content/docs/docs/emitters/typespec-autorest/index.md @@ -49,13 +49,12 @@ Emitter options can be configured via the `tspconfig.yaml` configuration: ```yaml emitters: - '@azure-tools/typespec-autorest': + "@azure-tools/typespec-autorest": : - # For example emitters: - '@azure-tools/typespec-autorest': + "@azure-tools/typespec-autorest": output-file: my-custom-swagger.json ``` From f92951f3e85839953b0b2ddf9101446561cb19b8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Jul 2026 14:33:08 -0400 Subject: [PATCH 4/4] regen --- packages/azure-http-specs/spec-summary.md | 10 +++---- packages/typespec-go/README.md | 2 +- .../clients/typespec-go/reference/emitter.md | 2 +- .../azure-core/reference/data-types.md | 6 ++--- .../reference/data-types.md | 26 +++++++++---------- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/packages/azure-http-specs/spec-summary.md b/packages/azure-http-specs/spec-summary.md index 8cd133be4c..a71bc43b27 100644 --- a/packages/azure-http-specs/spec-summary.md +++ b/packages/azure-http-specs/spec-summary.md @@ -976,11 +976,11 @@ This scenario tests the exact() function applied to a model property with langua The property 'name' on ScopedModel is renamed using exact() scoped to each language, with names that include an underscore prefix to verify that language naming logic does not apply: -- Python: '\_my_name' (should not be converted to 'my_name' or other casing) -- Java: '\_myName' (should not be converted to remove the underscore prefix) -- C#: '\_MyName' (should not be converted to remove the underscore prefix) -- JavaScript: '\_myName' (should not be converted to remove the underscore prefix) -- Go: '\_MyName' (should not be converted to remove the underscore prefix) +- Python: '_my_name' (should not be converted to 'my_name' or other casing) +- Java: '_myName' (should not be converted to remove the underscore prefix) +- C#: '_MyName' (should not be converted to remove the underscore prefix) +- JavaScript: '_myName' (should not be converted to remove the underscore prefix) +- Go: '_MyName' (should not be converted to remove the underscore prefix) Each language should preserve the specified exact name as-is without any further casing conversion. Expected request body: diff --git a/packages/typespec-go/README.md b/packages/typespec-go/README.md index 5f0a357022..9f674d0661 100644 --- a/packages/typespec-go/README.md +++ b/packages/typespec-go/README.md @@ -64,7 +64,7 @@ When true, unmarshalers will return an error when an unknown field is encountere **Type:** `string` -Optional prefix to file names. For example, if you set your file prefix to "zzz*", all generated code files will begin with "zzz*". +Optional prefix to file names. For example, if you set your file prefix to "zzz_", all generated code files will begin with "zzz_". ### `generate-fakes` diff --git a/website/src/content/docs/docs/emitters/clients/typespec-go/reference/emitter.md b/website/src/content/docs/docs/emitters/clients/typespec-go/reference/emitter.md index 7cea025a22..876afa02fc 100644 --- a/website/src/content/docs/docs/emitters/clients/typespec-go/reference/emitter.md +++ b/website/src/content/docs/docs/emitters/clients/typespec-go/reference/emitter.md @@ -58,7 +58,7 @@ When true, unmarshalers will return an error when an unknown field is encountere **Type:** `string` -Optional prefix to file names. For example, if you set your file prefix to "zzz*", all generated code files will begin with "zzz*". +Optional prefix to file names. For example, if you set your file prefix to "zzz_", all generated code files will begin with "zzz_". ### `generate-fakes` diff --git a/website/src/content/docs/docs/libraries/azure-core/reference/data-types.md b/website/src/content/docs/docs/libraries/azure-core/reference/data-types.md index e99cde0053..66294ac709 100644 --- a/website/src/content/docs/docs/libraries/azure-core/reference/data-types.md +++ b/website/src/content/docs/docs/libraries/azure-core/reference/data-types.md @@ -100,7 +100,7 @@ model Azure.Core.ClientRequestIdHeader ### `ConditionalRequestHeaders` {#Azure.Core.ConditionalRequestHeaders} -Provides the 'If-\*' headers to enable conditional (cached) responses +Provides the 'If-*' headers to enable conditional (cached) responses ```typespec model Azure.Core.ConditionalRequestHeaders @@ -271,7 +271,7 @@ model Azure.Core.PollingOptions ### `RepeatabilityRequestHeaders` {#Azure.Core.RepeatabilityRequestHeaders} -Provides the 'Repeatability-\*' headers to enable repeatable requests. +Provides the 'Repeatability-*' headers to enable repeatable requests. ```typespec model Azure.Core.RepeatabilityRequestHeaders @@ -286,7 +286,7 @@ model Azure.Core.RepeatabilityRequestHeaders ### `RepeatabilityResponseHeaders` {#Azure.Core.RepeatabilityResponseHeaders} -Provides the 'Repeatability-\*' headers to enable repeatable requests. +Provides the 'Repeatability-*' headers to enable repeatable requests. ```typespec model Azure.Core.RepeatabilityResponseHeaders diff --git a/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md b/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md index bca46c34a8..beba2d95ce 100644 --- a/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md +++ b/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md @@ -2516,12 +2516,12 @@ model Azure.ResourceManager.CommonTypes.NspConfigurationNameParameter