File tree Expand file tree Collapse file tree
test/integration/testdata Expand file tree Collapse file tree Original file line number Diff line number Diff line change 793793 "default" : 0
794794 },
795795 "OtherSub" : {
796- "default" : {},
796+ "default" : {
797+ "S" : " "
798+ },
797799 "$ref" : " #/definitions/defaults.SubStruct"
798800 },
799801 "Sub" : {
987989 "Field" : {
988990 "type" : " array" ,
989991 "items" : {
990- "default" : {},
992+ "default" : {
993+ "Port" : 0 ,
994+ "Protocol" : " "
995+ },
991996 "$ref" : " #/definitions/listtype.Item"
992997 },
993998 "x-kubernetes-list-map-keys" : [
10891094 ],
10901095 "properties" : {
10911096 "Field" : {
1092- "default" : {},
1097+ "default" : {
1098+ "Field" : 0
1099+ },
10931100 "$ref" : " #/definitions/structtype.DeclaredAtomicStruct" ,
10941101 "x-kubernetes-map-type" : " atomic"
10951102 },
12241231 "maxProperties" : 5 ,
12251232 "minProperties" : 1 ,
12261233 "required" : [
1227- " StringValue" ,
1228- " NumberValue" ,
12291234 " ArrayValue" ,
12301235 " MapValue"
12311236 ],
12521257 "NumberValue" : {
12531258 "type" : " number" ,
12541259 "format" : " double" ,
1255- "default" : 0 ,
12561260 "maximum" : 5 ,
12571261 "exclusiveMaximum" : true ,
12581262 "minimum" : 1 ,
12611265 },
12621266 "StringValue" : {
12631267 "type" : " string" ,
1264- "default" : " " ,
12651268 "maxLength" : 5 ,
12661269 "minLength" : 1 ,
12671270 "pattern" : " ^a.*b$"
Original file line number Diff line number Diff line change 731731 "default" : 0
732732 },
733733 "OtherSub" : {
734- "default" : {},
734+ "default" : {
735+ "S" : " "
736+ },
735737 "allOf" : [
736738 {
737739 "$ref" : " #/components/schemas/defaults.SubStruct"
933935 "Field" : {
934936 "type" : " array" ,
935937 "items" : {
936- "default" : {},
938+ "default" : {
939+ "Port" : 0 ,
940+ "Protocol" : " "
941+ },
937942 "allOf" : [
938943 {
939944 "$ref" : " #/components/schemas/listtype.Item"
10431048 ],
10441049 "properties" : {
10451050 "Field" : {
1046- "default" : {},
1051+ "default" : {
1052+ "Field" : 0
1053+ },
10471054 "allOf" : [
10481055 {
10491056 "$ref" : " #/components/schemas/structtype.DeclaredAtomicStruct"
11861193 "maxProperties" : 5 ,
11871194 "minProperties" : 1 ,
11881195 "required" : [
1189- " StringValue" ,
1190- " NumberValue" ,
11911196 " ArrayValue" ,
11921197 " MapValue"
11931198 ],
12141219 "NumberValue" : {
12151220 "type" : " number" ,
12161221 "format" : " double" ,
1217- "default" : 0 ,
12181222 "maximum" : 5 ,
12191223 "exclusiveMaximum" : true ,
12201224 "minimum" : 1 ,
12231227 },
12241228 "StringValue" : {
12251229 "type" : " string" ,
1226- "default" : " " ,
12271230 "maxLength" : 5 ,
12281231 "minLength" : 1 ,
12291232 "pattern" : " ^a.*b$"
You can’t perform that action at this time.
0 commit comments