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

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Document Generator for OpenAPI

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

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

 * [Detalls](https://ca.wordpress.org/plugins/document-generator-for-openapi/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/document-generator-for-openapi/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/document-generator-for-openapi/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/document-generator-for-openapi/#developers)

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

## Descripció

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

## Instal·lació

 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

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Document Generator for OpenAPI» és programari de codi obert. La següent gent ha
col·laborat en aquesta extensió.

Col·laboradors

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

[Traduïu «Document Generator for OpenAPI» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/document-generator-for-openapi)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/document-generator-for-openapi/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/document-generator-for-openapi/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

 *  Versió **1.1.0**
 *  Darrera actualització **fa 3 anys**
 *  Instal·lacions actives **40+**
 *  Versió del WordPress ** 5.7 o posterior **
 *  Provada fins a **6.2.9**
 *  Versió del PHP ** 7.0 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/document-generator-for-openapi/)
 * Etiquetes
 * [api](https://ca.wordpress.org/plugins/tags/api/)[generator](https://ca.wordpress.org/plugins/tags/generator/)
   [openapi](https://ca.wordpress.org/plugins/tags/openapi/)[rest-api](https://ca.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://ca.wordpress.org/plugins/tags/swagger/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/document-generator-for-openapi/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/document-generator-for-openapi/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.schneiderundschuetz.com/)