-
Notifications
You must be signed in to change notification settings - Fork 33
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
Tests ARM, test case for listing available operations #713
Conversation
packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp
Outdated
Show resolved
Hide resolved
packages/cadl-ranch-specs/http/azure/resource-manager/models/resources/main.tsp
Outdated
Show resolved
Hide resolved
- .net generator doesn't support `uint32` yet, so add a `uint8` test case - templatize int encoding test cases --------- Co-authored-by: Mingzhe Huang (from Dev Box) <[email protected]>
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
@@ -907,6 +907,35 @@ Expected response body: | |||
} | |||
``` | |||
|
|||
### Azure_ResourceManager_Models_Resources_ListAvailableOperations |
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.
is this to list which resources are available? or are you looking for available operations on a resource? I'm confused by the name. What about Azure_ResourceManager_Resources_ListAvailable
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.
It's for listing all available operations for an RP, not for a particular resource or resource type.
Reason for putting it under Resources
, is that it's a common interface(API) for almost all RPs, and it only has one scenario, which is interface Operations extends Azure.ResourceManager.Operations {}
. I'm not sure it's worth a separate folder/file.
Cadl Ranch Contribution Checklist:
@scenario
names. Someone can look at the list of scenarios and understand what I'm covering.@scenarioDoc
s for extra scenario description and to tell people how to pass my mock api check.