5 references to NullableKeyword
Microsoft.AspNetCore.OpenApi (5)
Extensions\JsonNodeSchemaExtensions.cs (4)
176
schema[OpenApiSchemaKeywords.
NullableKeyword
] = openApiSchema.Nullable || (schema[OpenApiSchemaKeywords.TypeKeyword] is JsonArray schemaType && schemaType.GetValues<string>().Contains("null"));
180
schema[OpenApiSchemaKeywords.
NullableKeyword
] = underlyingType != null;
379
schema[OpenApiSchemaKeywords.
NullableKeyword
] = true;
394
schema[OpenApiSchemaKeywords.
NullableKeyword
] = true;
Schemas\OpenApiJsonSchema.Helpers.cs (1)
225
case OpenApiSchemaKeywords.
NullableKeyword
: