From 7f6f947c4bf961b4d54daf447638530fe8aa90a2 Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Mon, 25 Jul 2016 22:03:39 -0700 Subject: [PATCH] add validateListType to pkg/api/meta/schema_test.go --- api-conventions.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api-conventions.md b/api-conventions.md index 8247c7260..5bc731be7 100644 --- a/api-conventions.md +++ b/api-conventions.md @@ -134,8 +134,9 @@ specific actions that create, update, delete, or get. 2. **Lists** are collections of **resources** of one (usually) or more (occasionally) kinds. - Lists have a limited set of common metadata. All lists use the "items" field -to contain the array of objects they return. + The name of a list kind must end with "List". Lists have a limited set of +common metadata. All lists use the required "items" field to contain the array +of objects they return. Any kind that has the "items" field must be a list kind. Most objects defined in the system should have an endpoint that returns the full set of resources, as well as zero or more endpoints that return subsets of