-
Notifications
You must be signed in to change notification settings - Fork 48
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support schema of a JSON object has no properties defined #70
Comments
I agree that this should be supported, and seems related the discussion on additionalProperties in #63. |
Dorthu
added a commit
that referenced
this issue
Feb 4, 2022
This commit reproduces the bug reported in #70
Dorthu
added a commit
that referenced
this issue
Feb 4, 2022
A Schema defined as: ``` example: type: object ``` should generate a Model named `example` with no `__slots__`. This change allows generation of a model as described, and closes #70.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'm trying to parse the following the following spec:
This fails with:
Fixing this immediate error exposes other follow-up errors.
Describe the solution you'd like
I would like to have support for such schemas, as they are standard-compliant. I am aware that this is considered a security risk
The text was updated successfully, but these errors were encountered: