Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server support for uiSchema #2

Closed
iberdinsky-skilld opened this issue Feb 18, 2024 · 1 comment · Fixed by #15
Closed

Add server support for uiSchema #2

iberdinsky-skilld opened this issue Feb 18, 2024 · 1 comment · Fixed by #15
Labels
go Server go issues yaml Yaml documentation.

Comments

@iberdinsky-skilld
Copy link
Contributor

iberdinsky-skilld commented Feb 18, 2024

On server side in same directory with action.yaml can be optional file 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

@iberdinsky-skilld
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Server go issues yaml Yaml documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant