Skip to content

Commit

Permalink
KEP-2887: Enum Types for OpenAPI (kubernetes#2888)
Browse files Browse the repository at this point in the history
* [PRR] KEP-2887 Enum Type for OpenAPI

* KEP-2887: OpenAPI Enum Types

* annotation -> marker

* reword value auto-detection.

* kube-builder syntax compatibility.

* re-target to OpenAPI v2.

* field pruning for disabling this feature.

* goal: unify with kubebuilder.

* Update keps/sig-api-machinery/2887-openapi-enum-types/README.md

Co-authored-by: Daniel Smith <[email protected]>

* rewrite non-goals.

* Update keps/sig-api-machinery/2887-openapi-enum-types/README.md

Co-authored-by: Daniel Smith <[email protected]>

* reword enum field pruning.

* preprocessor for these don't want enums.

* update TOC.

* Update keps/sig-api-machinery/2887-openapi-enum-types/README.md

Co-authored-by: Daniel Smith <[email protected]>

* polish assumptions on impl.

* Update keps/sig-api-machinery/2887-openapi-enum-types/README.md

Co-authored-by: Daniel Smith <[email protected]>

* reword non-goal

* allow client open enum.

* omit the enum linter.

may add it back later.

* update TOC.

Co-authored-by: Daniel Smith <[email protected]>
  • Loading branch information
2 people authored and rikatz committed Feb 1, 2022
1 parent 3b39f9f commit 7799418
Show file tree
Hide file tree
Showing 3 changed files with 886 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keps/prod-readiness/sig-api-machinery/2887.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kep-number: 2887
alpha:
approver: "@deads2k"
Loading

0 comments on commit 7799418

Please sign in to comment.