File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1818 schema :
1919 openAPIV3Schema :
2020 properties :
21+ arbitrary :
22+ description : arbitrary field
23+ type : object
24+ additionalProperties : true
25+ default : {}
2126 messages :
2227 items :
2328 additionalProperties :
Original file line number Diff line number Diff line change @@ -49,6 +49,15 @@ Resource Types:
4949 <td>object</td>
5050 <td>Refer to the Kubernetes API documentation for the fields of the `metadata` field.</td>
5151 <td>true</td>
52+ </tr><tr>
53+ <td><b>arbitrary</b></td>
54+ <td>map[string]string</td>
55+ <td>
56+ arbitrary field<br/>
57+ <br/>
58+ <i>Default</i>: map[]<br/>
59+ </td>
60+ <td>false</td>
5261 </tr><tr>
5362 <td><b><a href="#examplemessagesindexkey">messages</a></b></td>
5463 <td>[]map[string]object</td>
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ func getTypeName(props *apiextensions.JSONSchemaProps) string {
220220
221221 // map
222222 if props .Type == "object" && props .AdditionalProperties != nil {
223- if props .AdditionalProperties .Schema == nil && props .AdditionalItems .Allows {
223+ if props .AdditionalProperties .Schema == nil && props .AdditionalProperties .Allows {
224224 return "map[string]string"
225225 }
226226 return "map[string]"
You can’t perform that action at this time.
0 commit comments