Skip to content

Paths are not copied over in the copy constructor of OpenApiPaths #1007

Closed

Description

To repro:

In the OpenApiDocumentTest.cs, add the below test:

[Fact]
private void ShouldCopyDocument()
{
    var doc = new OpenApiDocument(AdvancedDocument);
    Assert.NotEmpty(doc.Paths);
    Assert.Equal(2, doc.Paths.Count);
}

Note that the above test fails on both assertions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experience

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions