8 references to _jsonSerializerOptions
Microsoft.AspNetCore.OpenApi (8)
Services\Schemas\OpenApiSchemaService.cs (8)
128
schemaAsJsonObject.ApplyParameterInfo(parameterDescription,
_jsonSerializerOptions
.GetTypeInfo(type));
147
var jsonTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(t);
276
var jsonTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(type);
313
var derivedJsonTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(derivedType.DerivedType);
325
var elementTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(jsonTypeInfo.ElementType!);
335
await InnerApplySchemaTransformersAsync(propertySchema,
_jsonSerializerOptions
.GetTypeInfo(propertyInfo.PropertyType), propertyInfo, context, transformer, cancellationToken);
343
var elementTypeInfo =
_jsonSerializerOptions
.GetTypeInfo(jsonTypeInfo.ElementType);
349
=> JsonSchemaExporter.GetJsonSchemaAsNode(
_jsonSerializerOptions
, key.Type, _configuration);