Skip to content

Commit 9009bc0

Browse files
committed
Update OpenAPI spec version
1 parent 7ed7856 commit 9009bc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/preprocess_spec.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ def process_swagger(infile, outfile):
111111
except PreprocessingException as e:
112112
print(e.message)
113113

114+
# TODO: Kubernetes does not set a version for OpenAPI spec yet,
115+
# remove this when that is fixed.
116+
spec['info']['version'] = "v1.5.0-beta.1"
117+
114118
with open(outfile, 'w') as out:
115119
json.dump(spec, out, sort_keys=False, indent=2,
116120
separators=(',', ': '), ensure_ascii=True)

0 commit comments

Comments
 (0)