File tree Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ numbers (integers) and D is one of "a" for alpha or "b" for beta and n is the
48
48
pre-release number. For a final release, "Dn" part should be omitted. Examples:
49
49
1.0.0a1, 2.0.1b2, 1.5.1.
50
50
51
- SPEC_VERSION: This would be the kubernetes OpenAPI spec version. It should be
52
- deprecated after kubernetes/kubernetes #37055 takes effect.
53
-
54
51
DEVELOPMENT_STATUS: Update it to one of the values of "Development Status"
55
52
in [ this list] ( https://pypi.python.org/pypi?%3Aaction=list_classifiers ) .
56
53
Original file line number Diff line number Diff line change 17
17
# Kubernetes branch to get the OpenAPI spec from.
18
18
KUBERNETES_BRANCH = "release-1.6"
19
19
20
- # Spec version will be set in downloaded spec and all
21
- # generated code will refer to it.
22
- SPEC_VERSION = "v1.6.1"
23
-
24
- # client version for packaging and releasing. It can
25
- # be different than SPEC_VERSION.
20
+ # client version for packaging and releasing.
26
21
CLIENT_VERSION = "2.0.0-snapshot"
27
22
28
23
# Name of the release package
Original file line number Diff line number Diff line change 20
20
21
21
import urllib3
22
22
23
- from constants import KUBERNETES_BRANCH , SPEC_VERSION
23
+ from constants import KUBERNETES_BRANCH
24
24
25
25
# these four constants are shown as part of this example in []:
26
26
# "[watch]Pod[List]" is the deprecated version of "[list]Pod?[watch]=True"
@@ -119,10 +119,6 @@ def process_swagger(spec):
119
119
120
120
inline_primitive_models (spec )
121
121
122
- # TODO: Kubernetes does not set a version for OpenAPI spec yet,
123
- # remove this when that is fixed.
124
- spec ['info' ]['version' ] = SPEC_VERSION
125
-
126
122
return spec
127
123
128
124
You can’t perform that action at this time.
0 commit comments