github.com/spotmaxtech/k8s-apimachinery-v0260@v0.0.1/pkg/util/strategicpatch/testdata/swagger-precision-item.json (about) 1 { 2 "swagger": "2.0", 3 "info": { 4 "title": "StrategicMergePatchTestingPrecisionItem", 5 "version": "v1.9.0" 6 }, 7 "paths": {}, 8 "definitions": { 9 "precisionItem": { 10 "description": "PrecisionItem is type definition for testing strategic merge.", 11 "required": [], 12 "properties": { 13 "name": { 14 "description": "Name field.", 15 "type": "string" 16 }, 17 "int32": { 18 "description": "Int32 field.", 19 "type": "integer", 20 "format": "int32" 21 }, 22 "int64": { 23 "description": "Int64 field.", 24 "type": "integer", 25 "format": "int64" 26 }, 27 "float32": { 28 "description": "Float32 field.", 29 "type": "number", 30 "format": "float32" 31 }, 32 "float64": { 33 "description": "Float64 field.", 34 "type": "number", 35 "format": "float64" 36 } 37 }, 38 "x-kubernetes-group-version-kind": [ 39 { 40 "group": "fake-group", 41 "kind": "precisionItem", 42 "version": "some-version" 43 } 44 ] 45 } 46 } 47 }