Title: Document Generator for OpenAPI
Author: Schneider &amp; Schütz GmbH
Published: <strong>septembre 21, 2021</strong>
Last modified: juillet 4, 2023

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/document-generator-for-openapi.svg)

# Document Generator for OpenAPI

 By [Schneider & Schütz GmbH](https://profiles.wordpress.org/schneiderundschuetz/)

[Download](https://downloads.wordpress.org/plugin/document-generator-for-openapi.1.1.0.zip)

 * [Details](https://tah.wordpress.org/plugins/document-generator-for-openapi/#description)
 * [Reviews](https://tah.wordpress.org/plugins/document-generator-for-openapi/#reviews)
 *  [Installation](https://tah.wordpress.org/plugins/document-generator-for-openapi/#installation)
 * [Development](https://tah.wordpress.org/plugins/document-generator-for-openapi/#developers)

 [Support](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Description

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

## Installation

 1. Install plugin via WordPress Plugin repository or by manually copying files
 2. Activate the plugin
 3. Access the REST Api of the generator by calling /wp-json/document-generator-for-
    openapi/v1/document?namespace=\<NAMESPACE> and your OpenAPI document will be returned.
 4. Or use the integrated WP-CLI command wp openapi-generator export-file

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Document Generator for OpenAPI” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Schneider & Schütz GmbH ](https://profiles.wordpress.org/schneiderundschuetz/)

[Translate “Document Generator for OpenAPI” into your language.](https://translate.wordpress.org/projects/wp-plugins/document-generator-for-openapi)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/document-generator-for-openapi/),
check out the [SVN repository](https://plugins.svn.wordpress.org/document-generator-for-openapi/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/)
by [RSS](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Added WP-CLI command to export OpenAPI document via CLI (Thanks to @vnmedeiros–
   Vinícius Nunes Medeiros)

#### 1.0.2

 * Added missing files for WordPress plugin repository

#### 1.0.1

 * Changed name of plugin from openapi-generator to document-generator-for-openapi

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Last updated **3 années ago**
 *  Active installations **40+**
 *  WordPress version ** 5.7 or higher **
 *  Tested up to **6.2.9**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/document-generator-for-openapi/)
 * Tags
 * [api](https://tah.wordpress.org/plugins/tags/api/)[generator](https://tah.wordpress.org/plugins/tags/generator/)
   [openapi](https://tah.wordpress.org/plugins/tags/openapi/)[rest-api](https://tah.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://tah.wordpress.org/plugins/tags/swagger/)
 *  [Advanced View](https://tah.wordpress.org/plugins/document-generator-for-openapi/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/document-generator-for-openapi/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/document-generator-for-openapi/reviews/)

## Contributors

 *   [ Schneider & Schütz GmbH ](https://profiles.wordpress.org/schneiderundschuetz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.schneiderundschuetz.com/)