Skip to content

Commit

Permalink
chore(deps): upgrading oas-related deps (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Jan 3, 2022
1 parent 8557a1d commit 02f748d
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 67 deletions.
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.
[31m[1mREQUIRED[22m[39m[31m must have required property 'openIdConnectUrl'[39m
[31m[1mREQUIRED[22m[39m[31m must have required property 'name'[39m
  24 | "components": {
  25 | "securitySchemes": {
> 26 | "tlsAuth": {
[0m [90m |[39m [31m[1m^[22m[39m [31m[1m☹️ [95mopenIdConnectUrl[31m is missing here![22m[39m[0m
[0m [90m |[39m [31m[1m^[22m[39m [31m[1m☹️ [95mname[31m is missing here![22m[39m[0m
  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.
[31m[1mADDTIONAL PROPERTY[22m[39m[31m must NOT have additional properties[39m
[31m[1mADDITIONAL PROPERTY[22m[39m[31m must NOT have additional properties[39m
  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.
[31m[1mREQUIRED[22m[39m[31m must have required property 'openIdConnectUrl'[39m
[31m[1mREQUIRED[22m[39m[31m must have required property 'name'[39m
  24 | "components": {
  25 | "securitySchemes": {
> 26 | "tlsAuth": {
[0m [90m |[39m [31m[1m^[22m[39m [31m[1m☹️ [95mopenIdConnectUrl[31m is missing here![22m[39m[0m
[0m [90m |[39m [31m[1m^[22m[39m [31m[1m☹️ [95mname[31m is missing here![22m[39m[0m
  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

0 comments on commit 02f748d

Please sign in to comment.