Document Generator for OpenAPI

OpenAPI (fka. Swagger) Document Generator for WordPress REST API

Author:Schneider & Schuetz GmbH (profile at wordpress.org)
WordPress version required:5.7
WordPress version tested:6.2.2
Plugin version:1.1.0
Added to WordPress repository:21-09-2021
Last updated:04-07-2023
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:4 676
Active installs:70+
plugin download
Click to start download

This plugin reads the schema definition of a given WordPress REST Api namespace and transforms it to a
OpenAPI document. The generator itself is exposed via the WordPress REST Api with the namespace document-generator-for-openapi/v1.

There is also a built in WP-CLI Command.

Limitations

  • Beware that currently the generator is exposeed to anonymous users since the WordPress schema endpoint is also publicly
    available. Use it at your own risk or disable the plugin after use.
  • No UI for configuration yet
  • Currently only version 3.1.0 of the OpenAPI specification is implemented. Swagger tools for 3.0.0 might work though.
  • Extensibility with hooks needs to be improved

ChangeLog