Replies: 1 comment
-
Interested, I need to have an operation which can accept both an entity or an array of entities. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation is a bit sparse on generating JSON Schemas programmatically,
In particular, I want to build a schema from data, not from an existing class. That is, I'm trying to generate a schema to give some structure to my json blobs.
So I'm looking for an example that is something like
I see that there are classes for Property and Definition, but I'm not sure how to use them to generate a schema.
I've looked at a few other tools, but ApiPlatform is much more complete, I think an example that doesn't require a PHP class would help a lot. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions