@@ -126,6 +126,23 @@ catch (OpaException) {
126126
127127# OPA OpenAPI SDK (low-level)
128128
129+ <!-- Start Summary [summary] -->
130+ ## Summary
131+
132+ For more information about the API: [ Enterprise OPA documentation] ( https://docs.styra.com/enterprise-opa )
133+ <!-- End Summary [summary] -->
134+
135+ <!-- Start Table of Contents [toc] -->
136+ ## Table of Contents
137+
138+ * [ SDK Installation] ( #sdk-installation )
139+ * [ SDK Example Usage] ( #sdk-example-usage )
140+ * [ Available Resources and Operations] ( #available-resources-and-operations )
141+ * [ Error Handling] ( #error-handling )
142+ * [ Server Selection] ( #server-selection )
143+ * [ Authentication] ( #authentication )
144+ <!-- End Table of Contents [toc] -->
145+
129146<!-- Start SDK Example Usage [usage] -->
130147## SDK Example Usage
131148
@@ -141,10 +158,11 @@ var sdk = new OpaApiClient(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
141158
142159var res = await sdk .ExecuteDefaultPolicyWithInputAsync (
143160 input : Input .CreateNumber (
144- 8203 . 11 D
145- ),
161+ 8203 . 11 D
162+ ),
146163 pretty : false ,
147- acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip );
164+ acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip
165+ );
148166
149167// handle response
150168```
@@ -257,11 +275,13 @@ var sdk = new OpaApiClient(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
257275try
258276{
259277 var res = await sdk .ExecuteDefaultPolicyWithInputAsync (
260- input : Input .CreateNumber (
261- 8203 . 11 D
262- ),
263- pretty : false ,
264- acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip );
278+ input : Input .CreateNumber (
279+ 8203 . 11 D
280+ ),
281+ pretty : false ,
282+ acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip
283+ );
284+
265285 // handle response
266286 }
267287catch (Exception ex )
@@ -279,7 +299,6 @@ catch (Exception ex)
279299 // handle exception
280300 }
281301}
282-
283302```
284303<!-- End Error Handling [errors] -->
285304
@@ -305,10 +324,11 @@ var sdk = new OpaApiClient(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
305324
306325var res = await sdk .ExecuteDefaultPolicyWithInputAsync (
307326 input : Input .CreateNumber (
308- 8203 . 11 D
309- ),
327+ 8203 . 11 D
328+ ),
310329 pretty : false ,
311- acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip );
330+ acceptEncoding : Styra .Opa .OpenApi .Models .Components .GzipAcceptEncoding .Gzip
331+ );
312332
313333// handle response
314334```
0 commit comments