7 references to _jsonSerializerOptions
Microsoft.AspNetCore.OpenApi (7)
Services\Schemas\OpenApiSchemaService.cs (7)
129
schemaAsJsonObject.ApplyParameterInfo(parameterDescription,
_jsonSerializerOptions
.GetTypeInfo(type));
263
var jsonTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(type);
300
var derivedJsonTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(derivedType.DerivedType);
312
var elementTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(jsonTypeInfo.ElementType!);
322
await InnerApplySchemaTransformersAsync(propertySchema,
_jsonSerializerOptions
.GetTypeInfo(propertyInfo.PropertyType), propertyInfo, context, transformer, cancellationToken);
330
var elementTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(jsonTypeInfo.ElementType);
336
=> JsonSchemaExporter.GetJsonSchemaAsNode(
_jsonSerializerOptions
, key.Type, _configuration);