Skip to content

Commit 0bc1d67

Browse files
authored
OpenAPI Specs: Update /db/_config/audit endpoint body format (#6963)
1 parent d56a4fa commit 0bc1d67

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

docs/api/components/schemas.yaml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,18 +1878,28 @@ Database-audit:
18781878
title: Database-audit
18791879
description: A map of audit events and whether they are enabled or not.
18801880
type: object
1881-
additionalProperties:
1882-
x-additionalPropertiesName: audit_id
1883-
description: The audit event ID and whether it is enabled or not.
1884-
type: boolean
1881+
properties:
1882+
enabled:
1883+
type: boolean
1884+
events:
1885+
type: object
1886+
additionalProperties:
1887+
x-additionalPropertiesName: audit_id
1888+
description: The audit event ID and whether it is enabled or not.
1889+
type: boolean
18851890
Database-audit-verbose:
18861891
title: Database-audit-verbose
18871892
description: A map of detailed audit events.
18881893
type: object
1889-
additionalProperties:
1890-
x-additionalPropertiesName: audit_id
1891-
description: The audit event ID and whether it is enabled or not.
1892-
$ref: '#/AuditEventVerbose'
1894+
properties:
1895+
enabled:
1896+
type: boolean
1897+
events:
1898+
type: object
1899+
additionalProperties:
1900+
x-additionalPropertiesName: audit_id
1901+
description: The audit event ID and whether it is enabled or not.
1902+
$ref: '#/AuditEventVerbose'
18931903
AuditEventVerbose:
18941904
title: audit-event-verbose
18951905
description: Detailed information about an audit event.

0 commit comments

Comments
 (0)