Class WidgetDataSchemas
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.utils.WidgetDataSchemas
Typed OpenAPI schemas for the data of each widget type (the `widgetData` of
POST /widget/{name}), built from the backend's QWidgetData classes, and the
discriminated union over them keyed by the data's `type`. A client renders
by type, never by sniffing the shape (docs/UI-API-CLIENTS.md).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAll the component schemas: one per data class, the generic one, and the union (WidgetData).static StringschemaName(Class<?> dataClass) The component schema name for a widget data class.Every widget type value (as sent in widget metadata and data `type`).
-
Field Details
-
GENERIC_SCHEMA_NAME
- See Also:
-
UNION_SCHEMA_NAME
- See Also:
-
-
Constructor Details
-
WidgetDataSchemas
public WidgetDataSchemas()
-
-
Method Details
-
schemaName
-
widgetTypeValues
-
componentSchemas
-