Title: Document Generator for OpenAPI
Author: Schneider &amp; Schütz GmbH
Published: <strong>21 Tháng 9, 2021</strong>
Last modified: 4 Tháng 7, 2023

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Document Generator for OpenAPI

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

[Tải về](https://downloads.wordpress.org/plugin/document-generator-for-openapi.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/document-generator-for-openapi/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/document-generator-for-openapi/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/document-generator-for-openapi/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/document-generator-for-openapi/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Mô tả

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

## Cài đặt

 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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Document Generator for OpenAPI” là mã nguồn mở. Những người sau đã đóng góp vào
plugin này.

Những người đóng góp

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

[Dịch “Document Generator for OpenAPI” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/document-generator-for-openapi)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/document-generator-for-openapi/),
check out [SVN repository](https://plugins.svn.wordpress.org/document-generator-for-openapi/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/)
qua [RSS](https://plugins.trac.wordpress.org/log/document-generator-for-openapi/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

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

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **3 năm trước**
 *  Số lượt cài đặt **40+**
 *  Phiên bản WordPress ** 5.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.2.9**
 *  Phiên bản PHP ** 7.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/document-generator-for-openapi/)
 * Thẻ
 * [api](https://vi.wordpress.org/plugins/tags/api/)[generator](https://vi.wordpress.org/plugins/tags/generator/)
   [openapi](https://vi.wordpress.org/plugins/tags/openapi/)[rest-api](https://vi.wordpress.org/plugins/tags/rest-api/)
   [swagger](https://vi.wordpress.org/plugins/tags/swagger/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/document-generator-for-openapi/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/document-generator-for-openapi/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/document-generator-for-openapi/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.schneiderundschuetz.com/)