Skip to content

Commit

Permalink
fix(openapi): adding support for OpenAPI 3.1.1, 3.0.4 and basic auth …
Browse files Browse the repository at this point in the history
…fetches (#1153)

| 🚥 Resolves #1152 |
| :------------------- |

## 🧰 Changes

This upgrades `oas-normalize` and `oas` in order to pull in updates made
to our OpenAPI parser to support OpenAPI 3.0.4 and 3.1.1 definitions. I
have also made a fix in `oas-normalize` to support basic auth
credentials in URLs, which will fix #1152.

Also upgraded `nock` to v14 while I'm here because that dropped today.
  • Loading branch information
erunion authored Jan 25, 2025
1 parent 75ae118 commit 6fad02b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 57 deletions.
77 changes: 24 additions & 53 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"gray-matter": "^4.0.1",
"ignore": "^7.0.0",
"mime-types": "^2.1.35",
"oas": "^25.2.1",
"oas-normalize": "^12.0.0",
"oas": "^25.3.0",
"oas-normalize": "^12.1.0",
"ora": "^8.1.1",
"prompts": "^2.4.2",
"semver": "^7.5.3",
Expand All @@ -72,7 +72,7 @@
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@oclif/test": "^4.1.0",
"@readme/better-ajv-errors": "^1.5.0",
"@readme/better-ajv-errors": "^2.0.0",
"@readme/eslint-config": "^14.0.0",
"@readme/oas-examples": "^5.10.0",
"@rollup/plugin-commonjs": "^28.0.0",
Expand All @@ -96,7 +96,7 @@
"husky": "^9.0.10",
"js-yaml": "^4.1.0",
"knip": "^5.0.2",
"nock": "^14.0.0-beta.7",
"nock": "^14.0.0",
"oclif": "^4.15.12",
"openapi-types": "^12.1.3",
"prettier": "^3.0.2",
Expand Down

0 comments on commit 6fad02b

Please sign in to comment.