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

---

搜索插件

![](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.6.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 directly into
your WordPress admin area, based on a 100% client-side OAS generator. Moreover, 
it includes a practical ScratchPad UI based on the .http (.rest) text format. Designed
for developers who build and maintain custom REST APIs, it offers an instant, zero-
configuration environment to visualize and securely test endpoints in real-time.

[🚀 Try StarRestGate in WordPress Playground](https://playground.wordpress.net/?plugin=star-rest-gate&url=/wp-admin/admin.php?page=star-rest-gate-rest-endpoints)
live in your browser right now without installing anything!

Current features are:

 * **Native Admin Experience:** Features a clean, polished Swagger UI and a practical
   ScratchPad UI that blend seamlessly into the WordPress admin, making them feel
   like core features.
 * **100% Client-Side OAS Generation:** It dynamically queries the standard _discovery
   URL_ `wp-json` 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.
 * **Instant OAS Download:** Easily download the full OpenAPI Specification in JSON
   format via a dedicated link for seamless integration with your favorite developer
   tools.
 * **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.

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

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

## 安装

#### Instant Live Demo

Want to try it without installing? [Launch StarRestGate in WordPress Playground](https://playground.wordpress.net/?plugin=star-rest-gate&url=/wp-admin/admin.php?page=star-rest-gate).

#### Standard Installation

 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.

## 评价

![](https://secure.gravatar.com/avatar/5fa95eea910fa7ac3b03f471d668785932478447df5f9a5166e5514f92c588d8?
s=60&d=retro&r=g)

### 󠀁[an awesome tool](https://wordpress.org/support/topic/an-awesome-tool-4/)󠁿

 [Rahel Khondokar](https://profiles.wordpress.org/rahelkhondokar/) 2026 年 7 月 
29 日

The plugin has potential nd really handy for developers like us. Hopefully they 
add more features and clean UI in the future, something like Postman.A solid 5-star
review for the idea and how fast the plugin is to work with.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/star-rest-gate/reviews/)

## 贡献者及开发者

「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.6.0

 * Improve ScratchPad UI styles to enhance readability and output formatting.

#### 0.5.0

 * Add ScratchPad UI for testing REST endpoints in .http format
 * Now also runs in WordPress Playground for an instant live demo without installation

#### 0.4.0

 * Add new tag grouping

#### 0.3.0

 * Introduce namespace selection dropdown
 * Enhance OAS generation logic

#### 0.2.0

 * Update Swagger UI to v5.32.8

#### 0.1.0

 * Initial release.

## 额外信息

 *  版本 **0.6.0**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  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/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/star-rest-gate/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/star-rest-gate/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/star-rest-gate/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/star-rest-gate/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/star-rest-gate/reviews/?filter=1)

[您的评价](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/)