WP OpenAPI
WP OpenAPI
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
Works as expected
By braican on 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.
Generates invalid schema
By cbd4coins on August 23, 2025
When you try to generate types it doesn't work. The schema it creates is invalid
Great Work
By Stiofan (stiofansisland) on 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!


