Commit c4477a1
authored
dhall-openapi: use Integer in IntOrString instead of Natural (#2137)
The Kubernetes OpenAPI definition describes this type as:
> IntOrString is a type that can hold an int32 or a string.
> When used in JSON or YAML marshalling and unmarshalling, it
> produces or consumes the inner type. This allows you to have,
> for example, a JSON field that can accept a name or number.
Which implies it should be an Integer rather than a Natural.
This should have been done as part of
bb3c4c9, but I missed this case.1 parent dc4a412 commit c4477a1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments