Open mainawycliffe opened 1 year ago
This applies to all the settings pages - The schemas are available @ /schems/{schema_name} - and are served from https://github.com/flanksource/duty/tree/main/schema/openapi
Here is the GitStart Ticket for this issue: https://clients.gitstart.com/flanksource/1/tickets/FLNK-1049
Hi @moshloop. As part of the implementation of this task, we have downloaded each of the converted schemas to the /schema/{schema_name}.json
directory. We would like to verify if this approach is acceptable.
Use the following library to convert JSON schemas to Yup schemas that we can use to validate schemas entered https://www.npmjs.com/package/json-schema-yup-transformer https://formik.org/docs/guides/validation