kctrl
: Helm array values with an empty default should still get an items
field in their OpenAPI schema
#1464
Labels
bug
This issue describes a defect or unexpected behavior
What steps did you take:
kctrl package release --openapi-schema
of a package using ahelmTemplate
.What happened:
Helm array values with an empty default, e.g.
don't get an
items
field in OpenAPI:What did you expect:
An
items
field, as it's required in OpenAPI:Anything else you would like to add:
Using
{}
to provide an empty schema foritems
is valid and acceptable, as in this case we don't have any information about the type of the array items. This results in the array accepting arbitrary types.Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: