這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP API SwaggerUI

外掛說明

SwaggerUI used to make WordPress REST API endpoint have a interactive UI, so we can check our API endpoint directly from the website it self

Feature:

  • Support for GET, POST, PUT, PATCH and DELETE request method
  • Support for Auth Basic authorization method
  • Choose which namespace API that will be used on the SwaggerUI

螢幕擷圖

  • SwaggerUI Interface
  • Options to choose namespace Rest API

安裝方式

This plugin can be installed directly from your site.

  1. Log in and navigate to Plugins > Add New.
  2. Type “WP API SwaggerUI” into the Search and hit Enter.
  3. Locate the WP API SwaggerUI plugin in the list of search results and click Install Now.
  4. Once installed, click the Activate link.

使用者評論

2022 年 7 月 3 日
Hi. Any updates? It's not working fully with wp6 and messes if I add js widgets like an ADA accessability widegt.
2020 年 9 月 24 日
Awesome plugin and very good execution. When you've multiple active plugins that you need to manage and publish documentation about the API, that's a perfect way to automate the boring task. Kudos.
閱讀全部 11 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP API SwaggerUI〉的開發相關工作。

參與者

將〈WP API SwaggerUI〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.0

  • Update doc
  • Force object type to string
  • Node modules update

1.1.2

  • Update regex for parameter detection

1.1.1

  • Put back missing header element

1.1.0

  • Use swagger-ui npm version
  • Auto tags on endpoint

1.0.9

  • Fix readme typo

1.0.8

  • Restore custom port support

1.0.7

  • Support produces and consumes directly via register_rest_route 3rd parameter

1.0.6

  • Change site_url to home_url

1.0.5

  • Support summary and desription on each endpoint api

1.0.4

  • make WooCommerce REST API Key works on Swagger Docs Auth

1.0.3

  • change template_include priority
  • change dtermine_current_user priority

1.0.2

  • Ensure REDIRECT_HTTP_AUTHORIZATION is not empty

1.0.1

  • Auto add params from path

1.0

  • Initial release