WP API SwaggerUI

Plugin Banner

WP API SwaggerUI

by agussuroyo

Download
Description

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

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.
  1. SwaggerUI Interface

    SwaggerUI Interface

  2. Options to choose namespace Rest API

    Options to choose namespace Rest API

NOT Working with WP 6

By luisgcastillo40s on January 3, 2023

Not working with wp 6.

Any updates

By lisaiceland on July 3, 2022

Hi. Any updates? It's not working fully with wp6 and messes if I add js widgets like an ADA accessability widegt.

Great Job

By paulouechi on April 30, 2021

Great Job, thank you for collaboration!

Great Job

By satilar99 on September 30, 2020

All work on 5.5.1

Awesome Plugin

By Tareq Hasan (tareq1988) on September 24, 2020

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.

That's exactly what I wanted!

By kazunao on June 1, 2020

I was looking for a tool to automatically create documentation from the REST API definition. It's exactly this!

Very interesting plugin

By Mathieu Viet (imath) on April 4, 2020

Thanks a lot for your work on this plugin.

Straight forward

By Gerald (gerital) on February 12, 2020

Thanks for your great and easy to use plugin!

Very Good!

By lee (clh21@126.com) on October 8, 2019

Great idea! It picks up all your rest routes automatically and provides you with a documentation page where you can provide a basic auth login/password and try it out. Awesome and love it. Thanks for making such a handy tool.

Great idea

By averta on October 6, 2019

Thanks for making such a handy tool.

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
Back to top