Skip to content

Update OpenAPI v3 test data from Kubernetes v1.24 to v1.35 #583

@bryantbiggs

Description

@bryantbiggs

Summary

The OpenAPI v3 per-group test data in pkg/util/proto/testdata/openapi_v3_0_0/ is from Kubernetes v1.24.0 and should be updated to a current release. Additionally, batch/v1beta1.json references an API group that no longer exists in modern Kubernetes.

Blocked on #477 — the proto v3 parser (ParseSchemaV3 in document_v3.go) does not handle allOf-wrapped $refs, which is the format Kubernetes v1.35 uses. The parser falls through to the default case and returns Arbitrary, losing the reference entirely. Until #477 is fixed, updating the v3 test data will break tests.

Related: #582
Raised in #579 (comment) by @Jefftree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions