Skip to content

Commit ec1e475

Browse files
committed
refine wording
1 parent 268d420 commit ec1e475

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ client = new Client({
186186

187187
<Markdown src="/snippets/pro-plan.mdx" />
188188

189-
Configure OAuth 2.0 using client credentials in `generators.yml`:
189+
Configure OAuth 2.0 client credentials in `generators.yml` rather than in the API specification:
190190

191191
```yaml title="generators.yml" maxLines=10
192192
auth-schemes:

fern/products/sdks/reference/generators-yml-reference.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ groups:
5757
5858
## `auth-schemes`
5959

60-
Define authentication methods for your API that your endpoints can reference. Choose from custom headers (API keys), HTTP Basic, Bearer token, or OAuth 2.0 authentication.
60+
Define authentication methods for your API that your endpoints can reference. Authentication schemes defined in `generators.yml` take precedence over authentication schemes defined in your spec.
6161

62-
Alternatively, you can [define authentication for individual SDKs](#override-api-authentication-settings).
62+
Choose from custom headers (API keys), HTTP Basic, Bearer token, or OAuth 2.0 authentication.
63+
64+
<Info>
65+
Alternatively, you can [define authentication for individual SDKs](#override-api-authentication-settings).
66+
</Info>
6367

6468
```yaml title="generators.yml" maxLines=10
6569
auth-schemes:

0 commit comments

Comments
 (0)