Format Rego
rego_formatFormat Rego source code to canonical style using opa fmt. Returns the formatted source and a flag indicating whether changes were made.
Instructions
Format Rego source code using opa fmt. Returns the formatted source and a changed flag indicating whether the input was already canonical.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Rego source code to format. |