added support for multiple kubernetes openapi schemas

This commit is contained in:
Natasha Sarkar
2020-11-11 18:08:46 -08:00
parent 66221d17d4
commit b61a115e76
19 changed files with 360029 additions and 380 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Copyright 2020 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
MYGOBIN=$(go env GOPATH)/bin
VERSION=$1
$MYGOBIN/go-bindata \
--pkg "${VERSION//.}" \
-o kubernetesapi/"${VERSION//.}"/swagger.go \
kubernetesapi/"${VERSION//.}"/swagger.json