public SchemaRegistry(
     JsonSerializerSettings jsonSerializerSettings,
     SchemaRegistrySettings settings = null)
 {
     _jsonSerializerSettings = jsonSerializerSettings;
     _jsonContractResolver   = _jsonSerializerSettings.ContractResolver ?? new DefaultContractResolver();
     _settings        = settings ?? new SchemaRegistrySettings();
     _schemaIdManager = new SchemaIdManager(_settings.SchemaIdSelector);
     Definitions      = new Dictionary <string, Schema>();
 }
 public SchemaRegistry(
     JsonSerializerSettings jsonSerializerSettings,
     SchemaRegistryOptions options = null)
 {
     _jsonSerializerSettings = jsonSerializerSettings;
     _jsonContractResolver   = _jsonSerializerSettings.ContractResolver ?? new DefaultContractResolver();
     _options         = options ?? new SchemaRegistryOptions();
     _schemaIdManager = new SchemaIdManager(_options.SchemaIdSelector);
     Schemas          = new Dictionary <string, OpenApiSchema>();
 }