plugin-icon

Document Generator for OpenAPI

OpenAPI (fka. Swagger) Document Generator for WordPress REST API
版本
1.1.0
活跃安装
50
最后更新
Jul 4, 2023

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
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.2.8
这个插件是可用的下载,适用于您的站点。