Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SchemaHasInvalidTypes (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	if spec.Validation != nil && SchemaHasInvalidTypes(spec.Validation.OpenAPIV3Schema) {
    		return true
    	}
    	for _, v := range spec.Versions {
    		if v.Schema != nil && SchemaHasInvalidTypes(v.Schema.OpenAPIV3Schema) {
    			return true
    		}
    	}
    	return false
    }
    
    // SchemaHasInvalidTypes returns true if it contains invalid offending openapi-v3 specification.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    			return nil, fmt.Errorf("failed converting CRD validation to internal version: %v", err)
    		}
    		if !validation.SchemaHasInvalidTypes(internalCRDSchema.OpenAPIV3Schema) {
    			if ss, err := structuralschema.NewStructural(internalCRDSchema.OpenAPIV3Schema); err == nil {
    				// skip non-structural schemas unless explicitly asked to produce swagger from them
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top