fix: fix regression in definition resolution (#9658)

Refs https://github.com/swagger-api/swagger-js/issues/3385
Refs #9645
This commit is contained in:
Oliwia Rogala
2024-03-01 13:50:04 +01:00
committed by GitHub
parent 0e638cd224
commit 6154396e06
4 changed files with 8 additions and 15 deletions

View File

@@ -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")
})
})

View File

@@ -62193,9 +62193,6 @@
"allOf": [
{
"$ref": "#/components/schemas/com.sap.ctsm.backend.core.api.study.v1.StudyAPIv1.Scenarios-create"
},
{
"$ref": "#/components/schemas/unresolvedRef"
}
],
"nullable": true