fix(openapi): schema for new flags api

v1.18.x
Julian Lam 5 years ago
parent cf00cda07c
commit a0e243eea1

@ -4974,9 +4974,21 @@ paths:
description: A user identifier description: A user identifier
fields: fields:
type: object type: object
properties: additionalProperties: {}
state: meta:
type: string type: array
items:
type: object
properties:
key:
type: string
value:
type: string
labelClass:
type: string
enum: ['default', 'primary', 'success', 'info', 'danger']
required:
- key
datetime: datetime:
type: number type: number
datetimeISO: datetimeISO:
@ -5008,6 +5020,11 @@ paths:
`icon:text` for the user's auto-generated `icon:text` for the user's auto-generated
icon icon
example: "#f44336" example: "#f44336"
required:
- uid
- datetime
- datetimeISO
- user
notes: notes:
type: array type: array
items: items:

Loading…
Cancel
Save