-
Notifications
You must be signed in to change notification settings - Fork 3
Document settings.disable-explorer-proxy in docs.yml #1699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document settings.disable-explorer-proxy in docs.yml #1699
Conversation
Document the new settings.disable-explorer-proxy option in docs.yml that allows the API explorer to bypass the proxy when sending requests. Include a warning about CORS requirements when this feature is enabled. Co-Authored-By: Catherine Deskur <catherine@buildwithfern.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| </ParamField> | ||
|
|
||
| <ParamField path="settings.disable-explorer-proxy" type="boolean" required={false} default="false" toc={true}> | ||
| If set to true, the API explorer will bypass the proxy when sending requests directly to your API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [vale] reported by reviewdog 🐶
[FernStyles.Reject] Use 'API Explorer' instead of 'API explorer'.
| If set to true, the API explorer will bypass the proxy when sending requests directly to your API. | ||
|
|
||
| <Warning> | ||
| When this feature is enabled, your API must have CORS (Cross-Origin Resource Sharing) enabled to allow requests from the documentation domain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'CORS' has no definition.
- Capitalize 'API Explorer' per FernStyles.Reject rule - Define CORS acronym on first use per FernStyles.Acronyms rule Co-Authored-By: Catherine Deskur <catherine@buildwithfern.com>
Document settings.disable-explorer-proxy in docs.yml
Summary
Added documentation for the new
settings.disable-explorer-proxyconfiguration option in the docs.yml reference page. This setting allows the API Explorer to bypass the proxy when sending requests directly to the user's API. The documentation includes a warning that Cross-Origin Resource Sharing (CORS) must be enabled on the API when this feature is used.Changes:
disable-explorer-proxy: falseto the settings configuration exampleReview & Testing Checklist for Human
*.buildwithfern.com, custom domains) or link to setup instructionsdisable-searchanddark-mode-codeand that the Warning component renders properlyNotes