Discussions
Enum values are not sent in request body
7 days ago by undefined
Hey,
I have an issue re: enum values in request bodies.
This is the API endpoint I'm referring to: https://api.seatable.com/reference/createtable
Selecting a text
column inside the columns
array does not cause the column_type
to be sent over to the remote server.
The text_column
schema is defined like this:
text_column:
title: Text
type: object
description: Add a text column.
properties:
column_name:
$ref: "#/components/schemas/column_name"
column_type:
type: string
enum: ["text"]
anchor_column:
$ref: "#/components/schemas/anchor_column"
required:
- column_name
- column_type
Thank you in advance!
Best regards,
Simon