reservedWidgets
Widget tags which are reserved. These cannot be used by a widget in members. This is useful for ensuring tags from old, retired widgets are not accidentally reused.
@Schema(
members = [
Row::class,
Button::class,
Text::class,
],
reservedWidgets = [
4, // Retired Column widget.
],
)
interface MySchema
Content copied to clipboard