Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: OpenAPI types are missing some fields #39465

@mbohlool

Description

@mbohlool

Discovered in kubernetes-client/python#85

Some types are missing fields in generated OpenAPI spec. For example v1.ConfigMapKeySelector is missing a Name field. This is due to ignoring fields with empty json name tag while most (if not all) of these members also have "inline" tag meaning we should inline their members into the generated type.

cc @kubernetes/sig-api-machinery-misc

Metadata

Metadata

Assignees

Labels

area/apiIndicates an issue on api area.area/swaggerkind/bugCategorizes issue or PR as related to a bug.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions