Skip to content

OpenAPI Gen should fail for invalid x-kubernetes-map-type/keys/etc combinations #343

@apelisse

Description

@apelisse

See kubernetes/kubernetes#114585,

We've been able to generate a bogus OpenAPI with x-kubernetes-list-type=set for a list of non-atomic maps. And we haven't been able to detect that until after the type was released and people were trying to re-import that type and create CRDs for it. We should detect these errors as early as possible, ideally while generating the OpenAPI for these types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.wg/api-expressionCategorizes an issue or PR as relevant to WG API Expression.

    Type

    No type

    Projects

    Status

    Backlog Authoring Controllers SSA

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions