Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 809 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 809 Bytes

JSON Schema Generator for OpenShift v3 Origin API Objects

Uses Go reflection to generate a JSON schema that describes one or more API resources in OpenShift Origin.

Prerequisites

Getting the code

git clone https://github.com/fabric8io/kubernetes-model $GOPATH/src/github.com/fabric8io/kubernetes-model

Building

  • Navigate into the cloned repo:

    cd $GOPATH/src/github.com/fabric8io/kubernetes-model
    
  • Run:

    make
    

    You should now be able to view the generated schema in kube-schema.json

Update dependency API's

To update OpenShift/Kubernetes dependencies, run:

make vendoring