JSON Schema Generation #7083
ainsleyclark
started this conversation in
Feature Requests & Ideas
Replies: 2 comments
-
This should now be possible in v3 after this PR was merged: #6984 You can define a function and perform whatever modifications you'd like. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @denolfe thanks for your reply. I understand that this modifies the Payload JSON schema but from my understanding there is still no way to generate a |
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.
-
It would be incredibly useful if there was a command to generate JSON schema so we're able to generate types to interact with that's not necessarily TS.
payload generate:types
I'm aware that Payload currently converts to JSON then TS types so I think this will be quite minimal.
At the moment I'm forking the
configToJSONSchema
function and it's quite cumbersome.Beta Was this translation helpful? Give feedback.
All reactions