Merge pull request #38451 from liggitt/remove-internal-openapi

Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463)

Stop generating openapi spec for internal types

Extracted from https://github.com/kubernetes/kubernetes/pull/38406

I don't think we should be generating openapi specs for the internal types, since they are never intended to be interacted with via the API. #38406 makes that very clear by removing the json tags, at which point the openapi spec field names mimic the go structs
This commit is contained in:
Kubernetes Submit Queue 2016-12-09 13:22:16 -08:00 committed by GitHub
commit 67bac4947a
14 changed files with 1 additions and 5786 deletions

View File

@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:openapi-gen=true
package abac
import (

View File

@ -15,7 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=apps.k8s.io
package apps // import "k8s.io/kubernetes/pkg/apis/apps"

View File

@ -16,5 +16,4 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
package authentication // import "k8s.io/kubernetes/pkg/apis/authentication"

View File

@ -15,7 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=authorization.k8s.io
package authorization // import "k8s.io/kubernetes/pkg/apis/authorization"

View File

@ -15,6 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package autoscaling // import "k8s.io/kubernetes/pkg/apis/autoscaling"

View File

@ -15,6 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package batch // import "k8s.io/kubernetes/pkg/apis/batch"

View File

@ -15,7 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=certificates.k8s.io
package certificates // import "k8s.io/kubernetes/pkg/apis/certificates"

View File

@ -15,6 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package componentconfig // import "k8s.io/kubernetes/pkg/apis/componentconfig"

View File

@ -15,6 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package extensions // import "k8s.io/kubernetes/pkg/apis/extensions"

View File

@ -16,6 +16,4 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=imagepolicy.k8s.io
// +k8s:openapi-gen=true
package imagepolicy // import "k8s.io/kubernetes/pkg/apis/imagepolicy"

View File

@ -15,6 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package policy // import "k8s.io/kubernetes/pkg/apis/policy"

View File

@ -15,7 +15,5 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=rbac.authorization.k8s.io
package rbac // import "k8s.io/kubernetes/pkg/apis/rbac"

View File

@ -16,5 +16,4 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=storage.k8s.io
// +g8k:openapi-gen=true
package storage // import "k8s.io/kubernetes/pkg/apis/storage"

File diff suppressed because it is too large Load Diff