Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Embed Swagger UI


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.


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



  • New «Swagger Ui Integration» menu item.
  • Create a Swagger Snippet & Copy Shortcode.
  • Use the Shortcode wherever you want.
  • Embedded Swagger UI on the front end.


  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

Часто задаваемые вопросы

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»]


Brilliant plugin that makes adding API documentation easy. Enables swagger YAML file to be added to existing WP pages. It allows you to either reference an offline file uploaded to WP or reference a single version of the truth hosted on your own server. I must admit I struggled to get this working initially, but as it seemed the most suitable plug-in I could find, I was determined to persevere. Turns out the issues were no fault of the plug-in — just over zealous security precautions on the web hosting site and I was fortunate that the developer was willing to assist — as it was beyond my technical ability to identify what was going on. I am very grateful for the responsiveness of Vinay, in trouble shooting to help find the cause of the issues. He is very knowledgeable and generous with his time.Highly recommended.
05.01.2024 1 ответ
It’s a great plugin, the swagger shows beautiful where ever you want on your site. However, it loads your site with JS files even on pages where no swagger is shown. And that is an absolute killer for your site. JS loaded where not needed is terrible and unnecessary. If this is not fixed soon I will have to search for a replacement.
Посмотреть все 3 отзыва

Участники и разработчики

«Embed Swagger UI» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


Перевести «Embed Swagger UI» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.0: April 4, 2023

  • Birthday of WP Swagger UI