-
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
[Hub Generated] Review request for Microsoft.HanaOnAzure to add version 2017-11-03-preview #5466
[Hub Generated] Review request for Microsoft.HanaOnAzure to add version 2017-11-03-preview #5466
Conversation
Can one of the admins verify this patch? |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-jsA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-nodeA PR has been created for you: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-javaThe initial PR has been merged into your service PR: |
...naonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
Outdated
Show resolved
Hide resolved
"$ref": "#/parameters/HanaInstanceNameParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/MonitoringParameter" |
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 haven't added non-path parameters to the Swagger spec before; is this how they're meant to be specified?
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 believe so because that is also the way that it is done for tags
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.
Please add a config file similar to this.
@dsgouda we already have a config file for the project. Do I need another one for this small addition? |
@pabowers whoops I missed that. |
63387d3
to
034e18b
Compare
"tags": [ | ||
"HanaOnAzure" | ||
], | ||
"operationId": "HanaInstances_Monitoring", |
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.
Please use the Verb_Noun
format for operation id. A better id here would be Monitor_HanaInstances
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.
That causes a warning with autorest, should I do it anyway?
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.
Could you share what the error is
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.
WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'monitoring' in:'Monitor_HanaInstances'. Consider updating the operationId
- file:///Users/pagebowers/repos/azure-rest-api-specs/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json:293:16 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring"].post.operationId)
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 see, you can name it as Monitoring_HanaInstances
then
On a related note, in general ARM end points should actually look like get
/put
, etc
...naonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
Show resolved
Hide resolved
034e18b
to
688cc86
Compare
688cc86
to
0106ae1
Compare
@dsgouda I'm a little confused about what exactly I need to do at this point. Our API is in preview and I believe that it has had an ARM review. Do we need a new review for this addition? Thanks |
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
@pabowers Apologize for the incorrect feedback earlier, |
If you are a MSFT employee you can view your work branch via this link.
Contribution checklist: