googleapis / googleapis/api-linter
AIP-213: Recommend use of common types
Open
type: feature request
- Dominant language
- Go
- Stars
- 765
- Forks
- 181
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 3
Description
I often see the following fields during API review:
* `start_time/end_time`
* `string color`
These would be better represented using the common types we support e.g. `google.type.Interval` and `google.type.Color` respectively.
Perhaps we should add some rules to recommend those types when it _looks_ like they are mimicking them.
Contributor guide
Assessment
This issue has not been assessed yet.