Merge pull request #42249 from mengjiao-liu/update-apispec-scripts

Update outdated scripts for generating the OpenAPI spec
This commit is contained in:
Kubernetes Prow Robot 2023-08-02 05:12:44 -07:00 committed by GitHub
commit 4038dcc679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 7 deletions

View File

@ -133,9 +133,8 @@ you will do a second commit. It is important to keep your changes separated into
Go to `<k8s-base>` and run these scripts:
```shell
hack/update-generated-swagger-docs.sh
hack/update-openapi-spec.sh
hack/update-generated-protobuf.sh
./hack/update-codegen.sh
./hack/update-openapi-spec.sh
```
Run `git status` to see what was generated.
@ -206,10 +205,8 @@ release-{{< skew prevMinorVersion >}} branch, the next step is to run these scri
release-{{< skew prevMinorVersion >}} branch of your local environment.
```shell
hack/update-generated-swagger-docs.sh
hack/update-openapi-spec.sh
hack/update-generated-protobuf.sh
hack/update-api-reference-docs.sh
./hack/update-codegen.sh
./hack/update-openapi-spec.sh
```
Now add a commit to your cherry-pick pull request that has the recently generated OpenAPI spec