Embed Swagger UI

January 10, 2024

Embed Swagger UI Plugin

A clean plugin to embed Swagger UI anywhere on your WP website.

A clean plugin to embed Swagger UI anywhere on your WP website.

How to use?

  • Navigate to WP Swagger UI
  • Select “Add new”
  • Give it a name & Upload the JSON or YAML file.
  • Copy the shortcode like [wpsgui id=xxx] displayed on right or in the “All Swaggers” list.

Donation

Please donate via the link below if you liked my work and if this plugin fulfilled your needs.

https://rzp.io/l/hncvj

Installation

  1. Go to Plugins in the Admin menu
  2. Click on the button Add new
  3. Search for WP Swagger UI and click ‘Install Now’ or click on the upload link to upload wp-swagger-ui.zip
  4. Click on Activate plugin

Screenshots

  1. New "Swagger Ui Integration" menu item.

    New "Swagger Ui Integration" menu item.

  2. Create a Swagger Snippet & Copy Shortcode.

    Create a Swagger Snippet & Copy Shortcode.

  3. Use the Shortcode wherever you want.

    Use the Shortcode wherever you want.

  4. Embedded Swagger UI on the front end.

    Embedded Swagger UI on the front end.

FAQ

Do I need a Swagger hub account for this?

No. You don’t require a Swagger hub account for this.

I have a file on a remote server, can I use that?

Yes, you can use the shortcode like this: [wpsgui url=”https://path/to/file.json”] or [wpsgui url=”https://path/to/file.yaml”]

Changelog

1.0.0: April 4, 2023

  • Birthday of WP Swagger UI

Details

  • Version: 1.0.0
  • Active installations: 100
  • Tested up to: 6.2.6
  • PHP Version: 7.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars