Group

data class Group(val id: String, val title: String)

A connector's spec can specify "groups", which the UI will use to put related spec options in the same place. To do this, you should:

  • add a Group to the groups list (e.g. Group(id = "foo", title = "Foo")

  • inject {"group": "foo"} to the generated JSONSchema for the relevant spec options (@JsonSchemaInject(json = """{"group": "foo"}""") val theOption: String

  • note that this should be the id of the group, not the title.

Constructors

Link copied to clipboard
constructor(id: String, title: String)

Properties

Link copied to clipboard
val id: String

A computer-friendly ID for the group

Link copied to clipboard

A human-readable name for the group