Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove uneeded setting
  • Loading branch information
captainsafia committed Jan 8, 2025
commit 873bda77e95e78497d576daf902ee3f6932067e5
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ public void ValidateCopyOnAllProperties()

modifiedSchema = originalSchema.Clone();
modifiedSchema.Reference = new OpenApiReference { Id = "Another Id", Type = ReferenceType.Schema };
modifiedSchema.Annotations = new Dictionary<string, object> { ["x-schema-id"] = "another value" };
Assert.False(OpenApiSchemaComparer.Instance.Equals(originalSchema, modifiedSchema));
Assert.True(propertyNames.Remove(nameof(OpenApiSchema.Reference)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ private class Item

private class LocationContainer
{

public LocationDto Location { get; set; }
}

Expand All @@ -598,5 +599,5 @@ private class ChildObject
public int Id { get; set; }
public required ParentObject Parent { get; set; }
}
#nullable restore
}
#nullable restore
Loading