Title: StarRestGate
Author: gumpress
Published: <strong>2026 年 7 月 6 日</strong>
Last modified: 2026 年 7 月 7 日

---

搜索插件

![](https://ps.w.org/star-rest-gate/assets/icon-256x256.png?rev=3597440)

# StarRestGate

 作者：[gumpress](https://profiles.wordpress.org/gumpress/)

[下载](https://downloads.wordpress.org/plugin/star-rest-gate.0.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/star-rest-gate/#description)
 * [评价](https://cn.wordpress.org/plugins/star-rest-gate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/star-rest-gate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/star-rest-gate/#developers)

 [支持](https://wordpress.org/support/plugin/star-rest-gate/)

## 描述

StarRestGate seamlessly integrates a powerful, interactive Swagger UI dashboard 
directly into your WordPress admin area. Designed for developers who build and maintain
WordPress REST APIs, it offers an instant, zero-configuration environment to visualize
and securely test endpoints in real-time.

Current features are:

 * **Native Admin Experience:** Features a clean, polished Swagger UI interface 
   that blends seamlessly with the WordPress admin UI, making it feel like a core
   feature.
 * **100% Client-Side OAS Generation:** It dynamically queries the standard _discovery
   URL_ `wp-json` endpoint using JavaScript and transforms the response into OAS.
   No server-side overhead, no heavy PHP parsing, and no guesswork. You see exactly
   what the outside world sees.
 * **Zero-Configuration Testing:** It safely leverages your active admin session
   and WordPress nonces. Test all standard HTTP verbs (GET, POST, PUT, PATCH, DELETE)
   securely without configuring external tokens or OAuth.
 * **Production Safe & Invisible:** The developer tools are strictly restricted 
   to administrators. For regular visitors and production traffic, the plugin has
   zero impact and loads zero assets.

### Third-Party Software

This plugin bundles the following third-party software:
 * Swagger UI – https://
github.com/swagger-api/swagger-ui (Apache License 2.0)

## 屏幕截图

[⌊The main Swagger UI interface embedded directly into the WordPress admin dashboard.⌉⌊
The main Swagger UI interface embedded directly into the WordPress admin dashboard
.⌉[

The main Swagger UI interface embedded directly into the WordPress admin dashboard.

## 安装

 1. Upload the plugin folders and files to the `/wp-content/plugins/star-rest-gate`
    directory, or install it directly via the WordPress admin panel.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to the new “StarRestGate” menu item in your admin dashboard to launch 
    Swagger UI.

## 常见问题

### How does this differ from other approaches to API documentation?

Most solutions approach API documentation from the inside out, using server-side
logic to analyze and map the code structure. StarRestGate simply shifts the perspective:
it looks at the system from the outside in. By letting WordPress natively handle
its own REST structure, our tool acts purely as an observer on the client side. 
It pulls the live data directly through JavaScript and renders it in Swagger UI.
It is just a different, lightweight way to view your active endpoints exactly as
the client application encounters them.

### Is there an impact on frontend performance?

No. The plugin only enqueues scripts and renders the iframe when an administrator
explicitly opens the StarRestGate dashboard in the backend.

## 评价

此插件暂无评价。

## 贡献者及开发者

「StarRestGate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gumpress ](https://profiles.wordpress.org/gumpress/)

[帮助将「StarRestGate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/star-rest-gate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/star-rest-gate/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/star-rest-gate/)，或通过[RSS](https://plugins.trac.wordpress.org/log/star-rest-gate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/star-rest-gate/)。

## 更新日志

#### 0.1.0

 * Initial release.
 * Core Rest Endpoints utility with live Swagger UI client-side rendering.

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**13 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/star-rest-gate/)
 * 标签
 * [openapi](https://cn.wordpress.org/plugins/tags/openapi/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://cn.wordpress.org/plugins/tags/swagger/)[Swagger UI](https://cn.wordpress.org/plugins/tags/swagger-ui/)
 *  [高级视图](https://cn.wordpress.org/plugins/star-rest-gate/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/star-rest-gate/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/star-rest-gate/reviews/)

## 贡献者

 *   [ gumpress ](https://profiles.wordpress.org/gumpress/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/star-rest-gate/)