Skip to content

Commit d9823ee

Browse files
authored
Add @azure-tools/typespec-autorest as dev dependency to resolve importing failure of @azure-tools/typespec-liftr-base (#53422)
* Add @azure-tools/typespec-autorest as dev dependency to resolve importing failure of @azure-tools/typespec-liftr-base * regen * minor
1 parent da62c79 commit d9823ee

19 files changed

+3773
-1992
lines changed

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/foo.tsp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import "@azure-tools/typespec-client-generator-core";
2+
import "@azure-tools/typespec-liftr-base";
23

34
using TypeSpec.Http;
45
using TypeSpec.Rest;
56
using Azure.ResourceManager;
67
using Azure.ClientGenerator.Core;
8+
using LiftrBase;
79

810
namespace MgmtTypeSpec;
911

@@ -81,12 +83,9 @@ interface FooSettingsOperations {
8183
delete is ArmResourceDeleteSync<FooSettings>;
8284
}
8385

84-
model FooSettingsProperties {
86+
model FooSettingsProperties is BaseResourceProperties {
8587
accessControlEnabled?: boolean;
8688

87-
@visibility(Lifecycle.Read)
88-
provisioningState?: ResourceProvisioningState;
89-
9089
@visibility(Lifecycle.Read)
9190
metaData?: FooSettingsPropertiesMetaData;
9291
}

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/MgmtTypeSpecTestsModelFactory.cs

Lines changed: 45 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/AzureGeneratorMgmtTypeSpecTestsContext.cs

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooSettingsPatch.cs

Lines changed: 1 addition & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooSettingsProperties.Serialization.cs

Lines changed: 39 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooSettingsProperties.cs

Lines changed: 29 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooSettingsUpdateProperties.Serialization.cs

Lines changed: 32 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)