8 references to _jsonSerializerOptions
Microsoft.AspNetCore.OpenApi (8)
Services\Schemas\OpenApiSchemaService.cs (8)
238schemaAsJsonObject.ApplyParameterInfo(parameterDescription, _jsonSerializerOptions.GetTypeInfo(type)); 257var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(t); 396var jsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(type); 433var derivedJsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(derivedType.DerivedType); 446var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 456await InnerApplySchemaTransformersAsync(propertySchema, _jsonSerializerOptions.GetTypeInfo(propertyInfo.PropertyType), propertyInfo, context, transformer, cancellationToken); 464var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 471var schema = JsonSchemaExporter.GetJsonSchemaAsNode(_jsonSerializerOptions, key.Type, _configuration);