8 references to _jsonSerializerOptions
Microsoft.AspNetCore.OpenApi (8)
Services\Schemas\OpenApiSchemaService.cs (8)
238schemaAsJsonObject.ApplyParameterInfo(parameterDescription, _jsonSerializerOptions.GetTypeInfo(type)); 257var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(t); 381var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(type); 418var derivedJsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(derivedType.DerivedType); 431var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 441await InnerApplySchemaTransformersAsync(propertySchema, _jsonSerializerOptions.GetTypeInfo(propertyInfo.PropertyType), propertyInfo, context, transformer, cancellationToken); 449var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 456var schema = JsonSchemaExporter.GetJsonSchemaAsNode(_jsonSerializerOptions, type, _configuration);