Skip to content

Commit 3e2883f

Browse files
committed
remove multiple security schemes info
1 parent ec1e475 commit 3e2883f

File tree

1 file changed

+0
-18
lines changed
  • fern/products/api-def/openapi-pages

1 file changed

+0
-18
lines changed

fern/products/api-def/openapi-pages/auth.mdx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -236,24 +236,6 @@ client = new Client({
236236
await client.users.list();
237237
```
238238

239-
## Multiple security schemes
240-
241-
If you would like to define multiple security schemes, simply
242-
list them under `components.securitySchemes`. For example, if you wanted to support
243-
`basic` and `apiKey` security schemes, see the example below:
244-
245-
```yaml title="openapi.yml" {3,6}
246-
components:
247-
securitySchemes:
248-
BearerAuth:
249-
type: http
250-
scheme: bearer
251-
ApiKey:
252-
type: apiKey
253-
in: header
254-
name: X_API_KEY
255-
```
256-
257239
## Override security scheme
258240

259241
You can use `generators.yml` to define custom authentication schemes that will take precedence when generating SDKs. This is also how OAuth authentication is configured for OpenAPI specs.

0 commit comments

Comments
 (0)