Skip to content

Commit 50fd738

Browse files
authored
fix: update docs (#300)
Signed-off-by: Michael Beemer <[email protected]>
1 parent ac19227 commit 50fd738

File tree

1 file changed

+2
-2
lines changed
  • src/OpenFeature.Contrib.Providers.Flipt

1 file changed

+2
-2
lines changed

src/OpenFeature.Contrib.Providers.Flipt/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ in the `/obj/` folder_
102102
First, download the latest `openapi.yaml` file from the Flipt GitHub repository. This can be done manually or by using a
103103
command like `curl` in the `/src/OpenFeature.Contrib.Providers.Flipt/`:
104104

105-
```
105+
```shell
106106
curl https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/main/openapi.yaml -o openapi.yaml
107107
```
108108

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

114-
```
114+
```shell
115115
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
116116
```
117117

0 commit comments

Comments
 (0)