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

---

Pretražite dodatke

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# Document Generator for OpenAPI

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

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

 * [Detalji](https://bs.wordpress.org/plugins/document-generator-for-openapi/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/document-generator-for-openapi/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/document-generator-for-openapi/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/document-generator-for-openapi/#developers)

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

## Opis

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

## Instalacija

 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

## Recenzije

Nema recenzija za ovaj dodatak.

## Saradnici i programeri

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

Doprinositelji

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

[Prevedi “Document Generator for OpenAPI” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/document-generator-for-openapi)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/document-generator-for-openapi/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/document-generator-for-openapi/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/)
od [RSS](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 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 **prije 3 godine**
 *  Active installations **40+**
 *  WordPress version ** 5.7 ili viša **
 *  Tested up to **6.2.12**
 *  PHP version ** 7.0 ili viša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/document-generator-for-openapi/)
 * Tags
 * [api](https://bs.wordpress.org/plugins/tags/api/)[generator](https://bs.wordpress.org/plugins/tags/generator/)
   [openapi](https://bs.wordpress.org/plugins/tags/openapi/)[rest-api](https://bs.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://bs.wordpress.org/plugins/tags/swagger/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/document-generator-for-openapi/advanced/)

## Ocjene

No reviews have been submitted yet.

[Your 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/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](https://www.schneiderundschuetz.com/)