You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I've written a processor that generates other schemas and I have a reflection class on the Request class.
Is there any way to get the schema for a corresponding class and change a property to insert a reference to another schema I've generated?
Not sure what you mean with JsonSerializable part seems to kinda break generation - a code sample would be good.
Ah yeah JsonSerializable isn't the issue, it's the array shape. This was before I discovered that they don't work, so the JsonSerializable|array<string, mixed>|null breaks because it can't parse the array shape, not because of the JsonSerializable.
I have a class like this:
Now I've written a processor that generates other schemas and I have a reflection class on the Request class.
Is there any way to get the schema for a corresponding class and change a property to insert a reference to another schema I've generated?
I tried using
But the resulting Schema seems empty except for the line in which the class starts:
(btw that JsonSerializable part seems to kinda break generation, the output is:
)
The text was updated successfully, but these errors were encountered: