StarRestGate

설명

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 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)

스크린샷

설치

Instant Live Demo

Want to try it without installing? Launch StarRestGate in WordPress Playground.

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.

FAQ

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”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “StarRestGate”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.