Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): upgrading oas-related deps #420

Merged
merged 1 commit into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __tests__/cmds/__snapshots__/openapi.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
exports[`rdme openapi error handling should throw an error if an invalid OpenAPI 3.1 definition is supplied 1`] = `
[SyntaxError: OpenAPI schema validation failed.

REQUIRED must have required property 'openIdConnectUrl'
REQUIRED must have required property 'name'

  24 | "components": {
  25 | "securitySchemes": {
> 26 | "tlsAuth": {
  | ^ ☹️ openIdConnectUrl is missing here!
  | ^ ☹️ name is missing here!
  27 | "type": "mutualTLS"
  28 | }
  29 | }]
Expand Down
6 changes: 3 additions & 3 deletions __tests__/cmds/__snapshots__/validate.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`rdme validate error handling should throw an error if an in valid Swagger definition is supplied 1`] = `
[Error: Swagger schema validation failed.

ADDTIONAL PROPERTY must NOT have additional properties
ADDITIONAL PROPERTY must NOT have additional properties

  23 | "description": "Find out more",
  24 | "url": "http://swagger.io",
Expand All @@ -17,12 +17,12 @@ exports[`rdme validate error handling should throw an error if an in valid Swagg
exports[`rdme validate error handling should throw an error if an invalid OpenAPI 3.1 definition is supplied 1`] = `
[Error: OpenAPI schema validation failed.

REQUIRED must have required property 'openIdConnectUrl'
REQUIRED must have required property 'name'

  24 | "components": {
  25 | "securitySchemes": {
> 26 | "tlsAuth": {
  | ^ ☹️ openIdConnectUrl is missing here!
  | ^ ☹️ name is missing here!
  27 | "type": "mutualTLS"
  28 | }
  29 | }]
Expand Down
121 changes: 62 additions & 59 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"gray-matter": "^4.0.1",
"isemail": "^3.1.3",
"node-fetch": "^2.6.1",
"oas": "^17.3.1",
"oas-normalize": "^5.0.5",
"oas": "^17.4.1",
"oas-normalize": "^5.1.0",
"open": "^8.2.1",
"parse-link-header": "^2.0.0",
"read": "^1.0.7",
Expand All @@ -55,7 +55,7 @@
},
"devDependencies": {
"@readme/eslint-config": "^8.0.2",
"@readme/oas-examples": "^4.3.2",
"@readme/oas-examples": "^4.3.3",
"eslint": "^8.3.0",
"jest": "^27.2.0",
"nock": "^13.1.1",
Expand Down