Commit 50fd738 1 parent ac19227 commit 50fd738 Copy full SHA for 50fd738
File tree 1 file changed +2
-2
lines changed
src/OpenFeature.Contrib.Providers.Flipt
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ in the `/obj/` folder_
102
102
First, download the latest ` openapi.yaml ` file from the Flipt GitHub repository. This can be done manually or by using a
103
103
command like ` curl ` in the ` /src/OpenFeature.Contrib.Providers.Flipt/ ` :
104
104
105
- ```
105
+ ``` shell
106
106
curl https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/main/openapi.yaml -o openapi.yaml
107
107
```
108
108
@@ -111,7 +111,7 @@ curl https://raw.githubusercontent.com/flipt-io/flipt/refs/heads/main/openapi.ya
111
111
With the ` openapi.yml ` file in your working directory, run the following ` nswag ` command to generate the REST client
112
112
code. Make sure to correct the command as shown below:
113
113
114
- ```
114
+ ``` shell
115
115
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
116
116
```
117
117
You can’t perform that action at this time.
0 commit comments