kubernetes/vendor/k8s.io/kube-openapi/pkg/schemamutation/walker.go

type Walker

type SchemaCallbackFunc

type RefCallbackFunc

var SchemaCallBackNoop

var RefCallbackNoop

// ReplaceReferences rewrites the references without mutating the input.
// The output might share data with the input.
func ReplaceReferences(walkRef func(ref *spec.Ref) *spec.Ref, sp *spec.Swagger) *spec.Swagger {}

func (w *Walker) WalkSchema(schema *spec.Schema) *spec.Schema {}

func (w *Walker) walkParameter(param *spec.Parameter) *spec.Parameter {}

func (w *Walker) walkParameters(params []spec.Parameter) ([]spec.Parameter, bool) {}

func (w *Walker) walkResponse(resp *spec.Response) *spec.Response {}

func (w *Walker) walkResponses(resps *spec.Responses) *spec.Responses {}

func (w *Walker) walkOperation(op *spec.Operation) *spec.Operation {}

func (w *Walker) walkPathItem(pathItem *spec.PathItem) *spec.PathItem {}

func (w *Walker) walkPaths(paths *spec.Paths) *spec.Paths {}

func (w *Walker) WalkRoot(swagger *spec.Swagger) *spec.Swagger {}