You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Net Target (if relevant, please specify the version in the description)
None
A clear and concise description of the bug
When using JsonSchemaBuilder, multiple UnrecognizedKeywords may be added. However, upon attempting to Build(), the keyword Types are checked instead of using KeywordExtensions.Keyword
Please add test code or steps to reproduce the behavior
var builder = new JsonSchemaBuilder();
builder.Add(new UnrecognizedKeyword("foo", null));
builder.Add(new UnrecognizedKeyword("bar", null));
builder.Build();
What did you expect?
I expected the JsonSchemaBuilder to support the same structures as could be created via Deserialization, or that the constructors of JsonSchema used by the JsonSchemaBuilder would be available publicly from the library..
Is there any other information you'd like to share regarding this bug?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Nuget Package
JsonSchema.Net
Package Version
5.2.0
Operating System
None
.Net Target (if relevant, please specify the version in the description)
None
A clear and concise description of the bug
When using JsonSchemaBuilder, multiple UnrecognizedKeywords may be added. However, upon attempting to
Build()
, the keywordType
s are checked instead of usingKeywordExtensions.Keyword
Please add test code or steps to reproduce the behavior
What did you expect?
I expected the
JsonSchemaBuilder
to support the same structures as could be created via Deserialization, or that the constructors ofJsonSchema
used by theJsonSchemaBuilder
would be available publicly from the library..Is there any other information you'd like to share regarding this bug?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: