-
-
Notifications
You must be signed in to change notification settings - Fork 538
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
AdditionalProperties is generated both as bool and Dictionary #1459
Comments
Looks strange, it's treating schema properties as actual model properties.. I think the schema is wrong... but needs investigation. |
I'm not that familiar with json schemas but using https://jsonschemalint.com/#!/version/draft-07/markup/json it validates if i change from $schema to schema, could that be the source of the issue? |
Changing from $schema to schema didn't change anything. |
NJsonSchema does not really care for the content of the "schema" property. |
If you tell me when you build a new nuget package, ill verify that it works as intended. Thanks for the fast fix!! |
Not sure this is actually the fix, but this was another problem with this schema... |
I have no idea how to use myget, I tried to add |
Checked out the repo and changed branch to One small question how do I use a |
Found #13 guessing that without that implemented the output of this schema will always be subpar. |
Hi when generating classes for this schema it generates the class
Andelisamfallighet
with the followingAnd using the following settings:
As you can see AdditionalProperties is generated twice, and this causes a compilation error.
Is the schema invalid or does the generator do something invalid?
The text was updated successfully, but these errors were encountered: