September 7, 2024

0.41.6

(feat): The Fern Docs CLI now supports OAuth 2.0 Client Credentials injection in API playgrounds. To enable this feature, you can define the OAuth Authorization Scheme in your API configuration, and enable the feature in your docs configuration.

API configuration:

1api:
2 auth-schemes:
3 OAuth:
4 scheme: oauth
5 type: client-credentials
6 get-token:
7 endpoint: endpoint.authorization

More Information

Docs configuration:

1navigation:
2 section: API Reference
3 playground:
4 oauth: true

More Information