Description
WP OpenAPI is a WordPress plugin that generates OpenAPI 3.1.0 compatible documentation for your WordPress REST APIs.
It has two main features.
- Outputs OpenAPI 3.1.0 spec at /wp-json-openapi
- Provides OpenAPI viewer using Stoplight’s awesome Elements viewer
You can also export your documentation as a single HTML to host it in a server easily.
See more details at https://github.com/moon0326/wp-openapi
Reviews
September 30, 2025
Works as expected for our use case and was a great way to easily establish schemas for our API customizations and extensions.
August 23, 2025
When you try to generate types it doesn’t work. The schema it creates is invalid
June 18, 2025
Very useful, we are using this in our docs sites, we have added some filters to correct some stuff and then just load the file vis the API url. Thanks for this!
Contributors & Developers
“WP OpenAPI” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP OpenAPI” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


