-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Change some string Microsoft.Logic modeled enums back into enums #3775
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4803,12 +4803,6 @@ | |
}, | ||
"204": { | ||
"description": "No Content" | ||
}, | ||
"default": { | ||
"description": "Logic error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "#/definitions/ErrorResponse" | ||
} | ||
} | ||
} | ||
} | ||
|
@@ -5911,7 +5905,7 @@ | |
], | ||
"x-ms-enum": { | ||
"name": "DaysOfWeek", | ||
"modelAsString": true | ||
"modelAsString": false | ||
} | ||
}, | ||
"description": "The days of the week." | ||
|
@@ -6125,7 +6119,7 @@ | |
], | ||
"x-ms-enum": { | ||
"name": "DayOfWeek", | ||
"modelAsString": true | ||
"modelAsString": false | ||
} | ||
}, | ||
"GenerateUpgradedDefinitionParameters": { | ||
|
@@ -6709,7 +6703,7 @@ | |
"NotSpecified", | ||
"AS2", | ||
"X12", | ||
"Edifact" | ||
"EDIFACT" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wont this be a breaking change? If so, it will impact the SDK users. Are you really ok with this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm still in the process of getting a new (major breaking) version of the SDK out. This was caused by the deserialization of a response from our API in the SDK coming back as all caps. I'll just put this back to being not modeled as a string. This enum is unlikely to be added to |
||
], | ||
"x-ms-enum": { | ||
"name": "AgreementType", | ||
|
@@ -7822,7 +7816,7 @@ | |
], | ||
"x-ms-enum": { | ||
"name": "SegmentTerminatorSuffix", | ||
"modelAsString": true | ||
"modelAsString": false | ||
} | ||
}, | ||
"X12DateFormat": { | ||
|
@@ -8741,7 +8735,7 @@ | |
], | ||
"x-ms-enum": { | ||
"name": "EdifactDecimalIndicator", | ||
"modelAsString": true | ||
"modelAsString": false | ||
} | ||
}, | ||
"IntegrationAccountCertificateListResult": { | ||
|
@@ -9139,7 +9133,7 @@ | |
], | ||
"x-ms-enum": { | ||
"name": "EventLevel", | ||
"modelAsString": true | ||
"modelAsString": false | ||
}, | ||
"description": "The event level." | ||
}, | ||
|
@@ -9181,31 +9175,6 @@ | |
} | ||
} | ||
}, | ||
"AccessKeyRegenerateActionDefinition": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"keyType" | ||
], | ||
"properties": { | ||
"keyType": { | ||
"$ref": "#/definitions/AccessKeyType" | ||
} | ||
} | ||
}, | ||
"AccessKeyType": { | ||
"type": "string", | ||
"enum": [ | ||
"NotSpecified", | ||
"Primary", | ||
"Secondary" | ||
], | ||
"x-ms-enum": { | ||
"name": "AccessKeyType", | ||
"modelAsString": true | ||
}, | ||
"description": "The access key type." | ||
}, | ||
"SetTriggerStateActionDefinition": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
|
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.
Why is the default error response removed?
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.
This is the only integration account artifact that has the default response. This appears to make the SDK return a 404 response instead of a CloudException, which is what all the other artifacts return.