-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 #12822
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
Merged
akning-ms
merged 2 commits into
Azure:master
from
karthikku-2020:karthikku-consumption-update-03
Mar 3, 2021
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
from ARM common definition. looks correct should be etag. and which item in ADO is what you are trying to fix?
Uh oh!
There was an error while loading. Please reload this page.
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.
The issue reported is this
Additional properties not allowed: eTag
Json path: $.value[*].eTag
The property is there in the model. But the error is still showing. So, am suspecting that either swagger is case sensitive or expecting camel casing on the property. That's the fix am trying to make.
Link to the error - https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=43A64D49-5B20-4860-BB81-17D1968E1E0C
Uh oh!
There was an error while loading. Please reload this page.
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.
Yes. it is case-sensitive, in this case, I will recommend you to fix it in your service side. BTW, how about other correctness in ADO items? will you also fix?
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.
Wondering why this would be a fix on the service side. The response from the service is correct. The casing needs to be updated on the swagger specs. Hence this fix.
For the other issues in the ADO item - Not all the APIs mentioned in that work item is owned by my team. There are multiple teams within cost management that own different APIs. Each team will will own the fixes for their APIs.
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.
per ARM guide: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md
You can find etag in the document. it should be etag, not eTag.
Uh oh!
There was an error while loading. Please reload this page.
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.
Thank you! Reverted the change on the casing update for etag. Are we good with the other change?
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.
LGTM,