cri-o/vendor/k8s.io/kube-openapi
Mrunal Patel 5f7ac28059 Update code for latest k8s
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2018-02-21 11:03:56 -08:00
..
pkg/util/proto Update code for latest k8s 2018-02-21 11:03:56 -08:00
LICENSE *: initial update to kube 1.8 2017-11-02 16:07:51 +01:00
README.md vendor: bump to kube 1.10/master 2017-12-11 16:45:48 +01:00

Kube OpenAPI

This repo is the home for Kubernetes OpenAPI discovery spec generation. The goal is to support a subset of OpenAPI features to satisfy kubernetes use-cases but implement that subset with little to no assumption about the structure of the code or routes. Thus, there should be no kubernetes specific code in this repo.

There are two main parts:

  • A model generator that goes through .go files, find and generate model definitions.
  • The spec generator that is responsible for dynamically generate the final OpenAPI spec using web service routes or combining other OpenAPI/Json specs.