fix: fix regression in definition resolution (#9658)
Refs https://github.com/swagger-api/swagger-js/issues/3385 Refs #9645
This commit is contained in:
@@ -18,19 +18,15 @@ describe("OpenAPI 3.0 complex spec with allOf and nested references", () => {
|
||||
cy.get("@scenarioSiblings")
|
||||
.find("span")
|
||||
.contains("scenarioID")
|
||||
.should("not.exist")
|
||||
.should("exist")
|
||||
cy.get("@scenarioSiblings")
|
||||
.find("span")
|
||||
.contains("Scenarios (for create)")
|
||||
.contains("Studies (for create)")
|
||||
.should("exist")
|
||||
.click()
|
||||
cy.get("@scenarioSiblings")
|
||||
.find("span")
|
||||
.contains("scenarioID")
|
||||
.should("exist")
|
||||
cy.get("@scenarioSiblings")
|
||||
.find("span")
|
||||
.contains("#/components/schemas/unresolvedRef")
|
||||
.contains("studyPhase")
|
||||
.should("exist")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user