Skip to content

Commit

Permalink
Website: Fix path in swagger command (#1462)
Browse files Browse the repository at this point in the history
Corrected the pass for docker run.
  • Loading branch information
aLekSer committed Apr 10, 2020
1 parent 2215f8d commit 08f6679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/en/docs/Guides/Client SDKs/rest.md
Expand Up @@ -29,7 +29,7 @@ This means you can use OpenAPI/Swagger tooling to generate clients as well, if y

For example, to create a cpp client for the stable sdk endpoints (to be run in the `agones` home directory):
```bash
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i /local/sdk.swagger.json -l cpprest -o /local/out/cpp
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i /local/sdks/swagger/sdk.swagger.json -l cpprest -o /local/out/cpp
```

The same could be run for `alpha.swagger.json` and `beta.swagger.json` as required.
Expand Down

0 comments on commit 08f6679

Please sign in to comment.