8 references to _jsonSerializerOptions
Microsoft.AspNetCore.OpenApi (8)
Services\Schemas\OpenApiSchemaService.cs (8)
254schemaAsJsonObject.ApplyParameterInfo(parameterDescription, _jsonSerializerOptions.GetTypeInfo(type)); 313var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(t); 500var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(type); 537var derivedJsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(derivedType.DerivedType); 550var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 560await InnerApplySchemaTransformersAsync(propertySchema, _jsonSerializerOptions.GetTypeInfo(propertyInfo.PropertyType), propertyInfo, context, transformer, cancellationToken); 568var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 578var schema = JsonSchemaExporter.GetJsonSchemaAsNode(_jsonSerializerOptions, underlyingType, _configuration);