Azure / Azure/azure-openapi-validator
TrackedResourceListByImmediateParent picks up proxy resources
Open
investigate
planned
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
See https://travis-ci.org/Azure/azure-rest-api-specs/jobs/254026880 .
Many of the warnings are for proxy resources, not tracked resources. In code I see that TrackedResourceListByImmediateParent is the only validator that iterates through ChildTrackedResourceModels, so I think that ChildTrackedResourceModels is detected incorrectly.
We do have proxy resources that intentionally do not have list operations because they are singletons, i.e. there is always exactly one of that proxy resource per parent.
Contributor guide
Assessment
This issue has not been assessed yet.