Skip to content

Commit

Permalink
Update swagger spec generation
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Dec 21, 2017
1 parent 31367ee commit 804b779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-generated-swagger-spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ os::util::sed '$a\' "${generated_file}" # add eof newline if it is missing
# Copy all protobuf generated specs into the api/protobuf-spec directory
proto_spec_out_dir="${OS_ROOT}/${SWAGGER_SPEC_REL_DIR}/api/protobuf-spec"
mkdir -p "${proto_spec_out_dir}"
for proto_file in $( find "${OS_ROOT}/pkg" "${OS_ROOT}/vendor/k8s.io/kubernetes/pkg" -name generated.proto ); do
for proto_file in $( find "${OS_ROOT}/vendor/github.com/openshift/api/" "${OS_ROOT}/vendor/k8s.io/kubernetes/staging/src/k8s.io/api/" -name generated.proto ); do
# package declaration lines will always begin with
# `package ` and end with `;` so to extract the
# package name without lookarounds we can simply
Expand Down

0 comments on commit 804b779

Please sign in to comment.