Skip to content

Commit

Permalink
fix: fix regression in definition resolution (#9658)
Browse files Browse the repository at this point in the history
  • Loading branch information
glowcloud committed Mar 1, 2024
1 parent 0e638cd commit 6154396
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -103,7 +103,7 @@
"reselect": "^5.1.0",
"serialize-error": "^8.1.0",
"sha.js": "^2.4.11",
"swagger-client": "^3.25.3",
"swagger-client": "^3.25.4",
"url-parse": "^1.5.10",
"xml": "=1.0.1",
"xml-but-prettier": "^1.0.1",
Expand Down
10 changes: 3 additions & 7 deletions test/e2e-cypress/e2e/features/plugins/oas3/complex-spec.cy.js
Expand Up @@ -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")
cy.get("@scenarioSiblings")
.find("span")
.contains("Scenarios (for create)")
.should("exist")
.click()
cy.get("@scenarioSiblings")
.find("span")
.contains("scenarioID")
.contains("Studies (for create)")
.should("exist")
.click()
cy.get("@scenarioSiblings")
.find("span")
.contains("#/components/schemas/unresolvedRef")
.contains("studyPhase")
.should("exist")
})
})
Expand Down
Expand Up @@ -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
Expand Down

0 comments on commit 6154396

Please sign in to comment.