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

---

Caută module

Acest modul **nu a fost testat cu ultimele 3 versiuni importante ale WordPress**.
S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate
când este folosit cu versiuni recente ale WordPress.

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

# Document Generator for OpenAPI

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

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

 * [Detalii](https://ro.wordpress.org/plugins/document-generator-for-openapi/#description)
 * [Recenzii](https://ro.wordpress.org/plugins/document-generator-for-openapi/#reviews)
 *  [Instalare](https://ro.wordpress.org/plugins/document-generator-for-openapi/#installation)
 * [Dezvoltare](https://ro.wordpress.org/plugins/document-generator-for-openapi/#developers)

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

## Descriere

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

## Instalare

 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

## Recenzii

Nu există nicio verificare pentru acest modul.

## Contributori și dezvoltatori

„Document Generator for OpenAPI” este un software open-source. La acest modul au
contribuit următoarele persoane.

Contributori

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

[Tradu „Document Generator for OpenAPI” în limba ta.](https://translate.wordpress.org/projects/wp-plugins/document-generator-for-openapi)

### Te interesează dezvoltarea?

[Răsfoiește codul](https://plugins.trac.wordpress.org/browser/document-generator-for-openapi/),
vezi [depozitarul SVN](https://plugins.svn.wordpress.org/document-generator-for-openapi/),
sau abonează-te la [jurnalul de dezvoltare](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/)
prin [RSS](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/?limit=100&mode=stop_on_copy&format=rss).

## Istoric modificări

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

 *  Versiunea **1.1.0**
 *  Ultima actualizare **Acum 3 ani**
 *  Instalări active: **40+**
 *  Versiune WordPress ** 5.7 sau mai recentă **
 *  Testat până la **6.2.11**
 *  Versiune PHP ** 7.0 sau mai recentă **
 *  Limbă
 * [English (US)](https://wordpress.org/plugins/document-generator-for-openapi/)
 * Etichete
 * [api](https://ro.wordpress.org/plugins/tags/api/)[generator](https://ro.wordpress.org/plugins/tags/generator/)
   [openapi](https://ro.wordpress.org/plugins/tags/openapi/)[rest-api](https://ro.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://ro.wordpress.org/plugins/tags/swagger/)
 *  [Vizualizare avansată](https://ro.wordpress.org/plugins/document-generator-for-openapi/advanced/)

## Evaluări

Nu a fost trimisă nicio recenzie până acum.

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

[Vezi toate recenziile](https://wordpress.org/support/plugin/document-generator-for-openapi/reviews/)

## Contributori

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

## Suport

Ai ceva de zis? Ai nevoie de ajutor?

 [Vezi forumul pentru suport](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Donează

Vrei să sprijini dezvoltarea acestui modul?

 [ Donează pentru acest modul ](https://www.schneiderundschuetz.com/)