Skip to content

Commit

Permalink
REST Docs use cross-compatible curl command (#3709)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlKl authored May 20, 2021
1 parent 4dc4132 commit 8b204f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dotnet tool install NSwag.ConsoleCore --version 13.10.9
You then have to get the `swagger.json` from your REST endpoint

```bash
curl http://localhost:5000/swagger/v1/swagger.json > swagger.json
curl -o swagger.json http://localhost:5000/swagger/v1/swagger.json
```

Now you can generate the client from the `swagger.json`.
Expand Down

0 comments on commit 8b204f7

Please sign in to comment.