File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
fern/products/api-definition/pages/openapi Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11---
22title : Authentication
3- subtitle : Model auth schemes such as bearer, basic, and api key.
3+ subtitle : Model auth schemes such as bearer, basic, and api key.
44---
55
66Configuring authentication schemes happens in the ` components.securitySchemes ` section of OpenAPI.
77
8+ testing
9+
810``` yml title="openapi.yml" {2-3}
911components :
1012 securitySchemes :
@@ -112,7 +114,7 @@ components:
112114 env: PLANTSTORE_CLIENT_SECRET
113115` ` `
114116
115- The generated SDK would look like :
117+ PLACEHOLDER10ee42b5c814815d9779dd9501cf6d82f084053452713baac7cdaf8a0278360c
116118
117119` ` ` ts index.ts
118120
@@ -148,8 +150,7 @@ const client = new Client({
148150})
149151` ` `
150152
151- If you want to control variable naming and environment variables to scan,
152- use the configuration below :
153+ PLACEHOLDERb64a0e78a36be1b80ce04294200dd76252e7d81c034abe2e93ef75cb75791afe
153154
154155` ` ` yaml title="openapi.yml" {7-10}
155156components:
@@ -164,7 +165,7 @@ components:
164165 prefix: "Token " # Optional
165166` ` `
166167
167- The generated SDK would look like :
168+ PLACEHOLDER10ee42b5c814815d9779dd9501cf6d82f084053452713baac7cdaf8a0278360c
168169
169170` ` ` ts index.ts
170171
@@ -193,4 +194,4 @@ components:
193194 type: apiKey
194195 in: header
195196 name: X_API_KEY
196- ` ` `
197+ ` ` `
You can’t perform that action at this time.
0 commit comments