From 3c2fdf64c4b212f22b012262a92075fecbe55d7d Mon Sep 17 00:00:00 2001 From: Jon Anders Sollien Date: Mon, 8 Apr 2024 12:00:22 +0200 Subject: [PATCH] Swagger custom fields --- swagger.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/swagger.yaml b/swagger.yaml index 4a15337..119e6fa 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -2711,3 +2711,41 @@ components: name: $skip schema: type: string + custom_field: + parameters: + id: + type: string + name: + type: string + type: + type: string + enum: + - integer + - decimal + - string + - boolean + - enum + - date + - date-time + readonly: + type: boolean + minArraySize: + type: integer + maxArraySize: + type: integer + defaultValue: + type: array + items: + type: string + enumValues: + type: array + items: + $ref: '#/components/schemas/custom_field_enum_value' + custom_field_enum_value: + parameters: + value: + type: string + displayValue: + type: string + readonly: + type: boolean \ No newline at end of file