Skip to content

fix: allow Send API Request button with proxy-only configuration#1274

Merged
sserrata merged 1 commit intoPaloAltoNetworks:mainfrom
emmanuel-ferdman:main
Jan 16, 2026
Merged

fix: allow Send API Request button with proxy-only configuration#1274
sserrata merged 1 commit intoPaloAltoNetworks:mainfrom
emmanuel-ferdman:main

Conversation

@emmanuel-ferdman
Copy link
Contributor

Description

Updated Request and Response components to check for proxy URL in addition to servers when deciding whether to show the API explorer UI.

Motivation and Context

Fixes #1245 - The "Send API Request" button was not visible when an OpenAPI spec had no servers defined, even when a proxy URL was configured via frontmatter or themeConfig.

How Has This Been Tested?

  • Created a test OpenAPI spec with no servers defined.
  • Added proxy https://example.com in frontmatter.
  • Verified the Send API Request button and Response section now render correctly.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 32a242c):

https://docusaurus-openapi-36b86--pr1274-ys1tp3lx.web.app

(expires Sun, 15 Feb 2026 16:54:44 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@sserrata sserrata self-assigned this Jan 16, 2026
@sserrata sserrata merged commit b7b7b77 into PaloAltoNetworks:main Jan 16, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send API request button is not visible when serverl url is absent but proxy-URL is present

2 participants