I used the code below to generate a unique ID, but apparently it is not supported, is there a way to generate a unique ID in schema?
type: string
format: uuid
I used the code below to generate a unique ID, but apparently it is not supported, is there a way to generate a unique ID in schema?
type: string
format: uuid
The schema is just a description of your properties. It doesn't actually contain any of your component logic.
What are you actually trying to do? You can easily generate a random UUID in your component logic, on the front or backend.
Finally generated it in the component code, but due to the large number of elements I was looking for a better solution to reduce the generation time.