File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ts/create-kpt-functions/src/cmd Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ import { spawnSync } from 'child_process';
2828import { CLI_PACKAGE } from '../paths' ;
2929import { failure } from '../utils/format' ;
3030
31- // url for default swagger.json openAPI type definitions from kyaml library
32- // current kubernetes version v1.17.1
33- const BUILTIN_OPENAPI_URL = `https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/kyaml /openapi/kubernetesapi /swagger.json` ;
31+ // url for default swagger.json openAPI type definitions from the kubernetes repo.
32+ // current kubernetes version is v1.21.2
33+ const BUILTIN_OPENAPI_URL = `https://raw.githubusercontent.com/kubernetes/kubernetes/v1.21.2/api /openapi-spec /swagger.json` ;
3434
3535export async function typeCreate ( packageDir : string ) {
3636 const desc = 'Generating types from OpenAPI spec.' ;
You can’t perform that action at this time.
0 commit comments