apiserverk8s.io/apiserver/pkg/util/openapi Index | Files

package openapi

import "k8s.io/apiserver/pkg/util/openapi"

Index

Functions

func GetOpenAPIDefinitionsWithoutDisabledFeatures

func GetOpenAPIDefinitionsWithoutDisabledFeatures(GetOpenAPIDefinitions common.GetOpenAPIDefinitions) common.GetOpenAPIDefinitions

GetOpenAPIDefinitionsWithoutDisabledFeatures wraps a GetOpenAPIDefinitions to revert any change to the schema that was made by disabled features.

func ToProtoModels

func ToProtoModels(openAPISpec *spec.Swagger) (proto.Models, error)

ToProtoModels builds the proto formatted models from OpenAPI spec

Source Files

enablement.go proto.go

Version
v0.27.13
Published
Apr 16, 2024
Platform
windows/amd64
Imports
9 packages
Last checked
2 minutes ago

Tools for package owners.