apisix_get_plugin_schema
Retrieve an APISIX plugin's true schema, including fields, types, required flags, defaults, and metadata/consumer schemas, to avoid version mismatches.
Instructions
查询单个插件的字段定义、类型、必填项、默认值(含 metadata_schema 与 consumer_schema)。
APISIX 插件字段跨版本变化频繁(如 disable 移入 _meta),提供真实 schema 优于硬编码规则。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 插件名称,如 key-auth、proxy-rewrite |