Skip to content

Commit

Permalink
fix: update docs (#300)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
  • Loading branch information
beeme1mr authored Oct 18, 2024
1 parent ac19227 commit 50fd738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OpenFeature.Contrib.Providers.Flipt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ in the `/obj/` folder_
First, download the latest `openapi.yaml` file from the Flipt GitHub repository. This can be done manually or by using a
command like `curl` in the `/src/OpenFeature.Contrib.Providers.Flipt/`:

```
```shell
curl https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/main/openapi.yaml -o openapi.yaml
```

Expand All @@ -111,7 +111,7 @@ curl https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/main/openapi.ya
With the `openapi.yml` file in your working directory, run the following `nswag` command to generate the REST client
code. Make sure to correct the command as shown below:

```
```shell
nswag openapi2csclient /className:FliptRestClient /namespace:Flipt.Rest /input:"openapi.yaml" /output:"./Flipt.Rest.Client.cs" /GenerateExceptionClasses:true /OperationGenerationMode:SingleClientFromPathSegments /JsonLibrary:SystemTextJson /GenerateOptionalParameters:true /GenerateDefaultValues:true /GenerateResponseClasses:true /GenerateClientInterfaces:true /GenerateClientClasses:true /GenerateDtoTypes:true /ExceptionClass:FliptRestException /GenerateNativeRecords:true /UseBaseUrl:false /GenerateBaseUrlProperty:false
```

Expand Down

0 comments on commit 50fd738

Please sign in to comment.