0.69.0
TypeSpec Core 1.12 See changes to the TypeSpec language and core libraries
0.69.0
Section titled “0.69.0”Features
Section titled “Features”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #4190 Added
skip-example-copyingemitter option. When enabled, example files are not copied to the output directory andx-ms-examples$refvalues point directly to the source example files via relative paths.
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #4384 Add new linting rule
no-override-propsthat warns when a model redefines a property that is already defined in one of its base models. The ‘name’ property of an ARM resource and properties redefined as part of a model marked with@discriminatorare not flagged by this rule. - #4530 Add optional
Tagtemplate parameter toAzure.ResourceManager.Legacy.Operationsto allow overriding the openapi tag value.
@azure-tools/typespec-azure-rulesets
Section titled “@azure-tools/typespec-azure-rulesets”- #4384 Add new linting rule
no-override-propsthat warns when a model redefines a property that is already defined in one of its base models. The ‘name’ property of an ARM resource and properties redefined as part of a model marked with@discriminatorare not flagged by this rule.
Bug Fixes
Section titled “Bug Fixes”@azure-tools/typespec-autorest
Section titled “@azure-tools/typespec-autorest”- #4549 Fix custom auth scheme models leaking into
definitionswhen declared inside the service namespace. They are now emitted only undersecurityDefinitionsas expected. - #4421 Ensure there is no examples emitted for parameters.
@azure-tools/typespec-azure-resource-manager
Section titled “@azure-tools/typespec-azure-resource-manager”- #4433 Fix doc comment typos in ARM library: list operations incorrectly said “patched”, CreateOrReplace operations said “createOrUpdate”, extension operations had
>instead of., and @doc tag had malformed string interpolation.
@azure-tools/typespec-client-generator-core
Section titled “@azure-tools/typespec-client-generator-core”- #4567 Move internal
EXACT_NAME_PREFIXconstant out of public exports to fix build failures whenskipLibCheckis disabled.