Closed iberdinsky-skilld closed 3 months ago
On server side in same directory with action.yaml can be optional file ui-schema.yaml
action.yaml
ui-schema.yaml
Which can contains custom widgets for defined fields. And if this file exists provide extra field in action response
More info:
https://github.com/launchrctl/launchr/pull/30/files https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema/
So here can be returned uiSchema field which contains schema of uiSchema file
https://github.com/launchrctl/web/blob/main/server/openapi.yaml#L39
Go work still needed here.
Details explained here https://github.com/launchrctl/web/pull/15/files#diff-3fb3d4184590bc6f747661f3062676031e837b0dd5f2b18640f439be7a2235f6R161
On server side in same directory with
action.yaml
can be optional fileui-schema.yaml
Which can contains custom widgets for defined fields. And if this file exists provide extra field in action response
More info:
https://github.com/launchrctl/launchr/pull/30/files https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema/
So here can be returned uiSchema field which contains schema of uiSchema file
https://github.com/launchrctl/web/blob/main/server/openapi.yaml#L39