-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mgmt schema consolidation #4432
Mgmt schema consolidation #4432
Conversation
…06/autorest.csharp into mgmt-schema-consolidation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see an on / off switch for this. Does that mean this is already on for everything and there are zero diffs?
src/AutoRest.CSharp/Common/Input/InputTypes/Examples/InputOperationExample.cs
Outdated
Show resolved
Hide resolved
src/AutoRest.CSharp/Common/Input/InputTypes/InputModelProperty.cs
Outdated
Show resolved
Hide resolved
Yes. With swagger input, we have There are some minor diffs, which I think are acceptable: |
…06/autorest.csharp into mgmt-schema-consolidation
…06/autorest.csharp into mgmt-schema-consolidation
Remove AllBaseModels and ImmediateBaseModels
@@ -523,18 +464,15 @@ protected override IEnumerable<ObjectTypeProperty> BuildProperties() | |||
var propertiesFromSpec = GetParentPropertyDeclarationNames(); | |||
var existingProperties = GetParentPropertySerializedNames(); | |||
|
|||
foreach (var objectSchema in GetCombinedSchemas()) | |||
foreach (var property in UpdateInputModelProperties()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well I have some questions on this.
Consolidate
CodeModel.Schema
intoInputType