File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -123,14 +123,12 @@ dotnet restore
123
123
dotnet test
124
124
```
125
125
126
- # Generating the Client Code
126
+ # Update the API model
127
127
128
128
## Prerequisites
129
129
130
130
You'll need a Linux machine with Docker.
131
131
132
- The generated code works on all platforms supported by .NET or .NET Core.
133
-
134
132
Check out the generator project into some other directory
135
133
(henceforth ` $GEN_DIR ` ).
136
134
@@ -139,12 +137,12 @@ cd $GEN_DIR/..
139
137
git clone https://github.com/kubernetes-client/gen
140
138
```
141
139
142
- ## Generating code
140
+ ## Generating new swagger.json
143
141
144
142
``` bash
145
143
# Where REPO_DIR points to the root of the csharp repository
146
- cd ${REPO_DIR} /csharp/src/KubernetesClient
147
- ${GEN_DIR} /openapi/csharp.sh generated .. /csharp.settings
144
+ cd
145
+ ${GEN_DIR} /openapi/csharp.sh ${REPO_DIR} /src/KubernetesClient ${REPO_DIR} /csharp.settings
148
146
```
149
147
150
148
# Version Compatibility
You can’t perform that action at this time.
0 commit comments