We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As this test expose worming004@3506ff1
[Theory] [InlineData(typeof(int?[]), "integer", "int32", true)] public void GenerateSchema_GeneratesArraySchema_IfEnumerableType( Type type, string expectedItemsType, string expectedItemsFormat, bool expectedItemsNullable) { var schema = Subject().GenerateSchema(type, new SchemaRepository()); Assert.Equal("array", schema.Type); Assert.NotNull(schema.Items); Assert.Equal(expectedItemsType, schema.Items.Type); Assert.Equal(expectedItemsFormat, schema.Items.Format); Assert.Equal(expectedItemsNullable, schema.Items.Nullable); // test fail here }
The array's item is not set to nullable. Item is expected to be nullable because input type is int?
int?
The text was updated successfully, but these errors were encountered:
Is this #2059?
Sorry, something went wrong.
Yes it is
Duplicate of #2059.
No branches or pull requests
As this test expose worming004@3506ff1
The array's item is not set to nullable. Item is expected to be nullable because input type is
int?
The text was updated successfully, but these errors were encountered: