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
123123dotnet test
124124```
125125
126- # Generating the Client Code
126+ # Update the API model
127127
128128## Prerequisites
129129
130130You'll need a Linux machine with Docker.
131131
132- The generated code works on all platforms supported by .NET or .NET Core.
133-
134132Check out the generator project into some other directory
135133(henceforth ` $GEN_DIR ` ).
136134
@@ -139,12 +137,12 @@ cd $GEN_DIR/..
139137git clone https://github.com/kubernetes-client/gen
140138```
141139
142- ## Generating code
140+ ## Generating new swagger.json
143141
144142``` bash
145143# 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
148146```
149147
150148# Version Compatibility
You can’t perform that action at this time.
0 commit comments