bug(staging_api_apps_v1): add descriptions to apps/v1/types.go files

#### What type of PR is this?
/kind bug

#### What this PR does / why we need it:

This PR adds descriptions for the following:
1. Metadata and List of Struct `StatefulSetLists`
2. Metadata of Struct `StatefulSet`

#### Which issue(s) this PR fixes:
Ref #99675
This commit is contained in:
AbdulBasitAlvi
2021-05-16 07:09:40 +05:00
parent a45aeb626c
commit 29cfc68911
5 changed files with 34 additions and 14 deletions

View File

@@ -805,7 +805,7 @@
},
"metadata": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
"description": "Standard object metadata."
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentSpec",
@@ -1224,7 +1224,8 @@
"type": "string"
},
"metadata": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetSpec",
@@ -1282,6 +1283,7 @@
"type": "string"
},
"items": {
"description": "Items is the list of stateful sets.",
"items": {
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet"
},
@@ -1292,7 +1294,8 @@
"type": "string"
},
"metadata": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
"description": "Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [