Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added object title in JSON schema #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

discharged-spider
Copy link

Added class name as object title in json schema. Really useful when creating forms from schema (especially in lists).

@beregond
Copy link
Collaborator

Hey, @discharged-spider - nice small feature. :) This pr still needs to fix tests, and maybe to develop extra option to define other name than type.__name__ - like type.schema_name (which can be property that returns type.__name__ by default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants