k3s/cmd/kube-apiserver
Kubernetes Submit Queue c523476d6f Merge pull request #40124 from mbohlool/separation
Automatic merge from submit-queue

Use full package path for definition name in OpenAPI spec

We were using short package name (last part of package name) plus type name for OpenAPI spec definition name. That can result in duplicate names and make the spec invalid. To be sure we will always have unique names, we are going to use full package name as definition name. Also "x-kubernetes-tag" custom field is added to definitions to list Group/Version/Kind for the definitions that has it. This will help clients to discover definitions easier.
Lastly, we've added a reference from old definition names to the new ones to keep backward compatibilities. The list of old definitions will not be updated.

**Release note**:
- Rename OpenAPI definition names to type's full package names to prevent duplicates
- Create OpenAPI extension "x-kubernetes-group-version-kind" for definitions to store Group/Version/Kind
- Deprecate old definition names and create a reference to the new definitions. Old definitions will be removed in the next release.
2017-02-01 12:06:39 -08:00
..
app Merge pull request #40124 from mbohlool/separation 2017-02-01 12:06:39 -08:00
BUILD Update generated files 2017-01-24 20:56:03 +01:00
OWNERS add deads2k to some cmd packages 2017-01-31 13:56:49 -05:00
apiserver.go pkg/util/flag: move to k8s.io/apiserver 2017-01-24 20:56:03 +01:00