chore: update openapi-sampler (#2275)

This commit is contained in:
Alex Varchuk 2023-03-23 16:55:39 +02:00 committed by GitHub
parent d3ad7925cf
commit d4cd6f7fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 9 deletions

14
package-lock.json generated
View File

@ -19,7 +19,7 @@
"mark.js": "^8.11.1",
"marked": "^4.0.15",
"mobx-react": "^7.2.0",
"openapi-sampler": "^1.3.0",
"openapi-sampler": "^1.3.1",
"path-browserify": "^1.0.1",
"perfect-scrollbar": "^1.5.5",
"polished": "^4.1.3",
@ -14378,9 +14378,9 @@
}
},
"node_modules/openapi-sampler": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.0.tgz",
"integrity": "sha512-2QfjK1oM9Sv0q82Ae1RrUe3yfFmAyjF548+6eAeb+h/cL1Uj51TW4UezraBEvwEdzoBgfo4AaTLVFGTKj+yYDw==",
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz",
"integrity": "sha512-Ert9mvc2tLPmmInwSyGZS+v4Ogu9/YoZuq9oP3EdUklg2cad6+IGndP9yqJJwbgdXwZibiq5fpv6vYujchdJFg==",
"dependencies": {
"@types/json-schema": "^7.0.7",
"json-pointer": "0.6.2"
@ -30172,9 +30172,9 @@
}
},
"openapi-sampler": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.0.tgz",
"integrity": "sha512-2QfjK1oM9Sv0q82Ae1RrUe3yfFmAyjF548+6eAeb+h/cL1Uj51TW4UezraBEvwEdzoBgfo4AaTLVFGTKj+yYDw==",
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz",
"integrity": "sha512-Ert9mvc2tLPmmInwSyGZS+v4Ogu9/YoZuq9oP3EdUklg2cad6+IGndP9yqJJwbgdXwZibiq5fpv6vYujchdJFg==",
"requires": {
"@types/json-schema": "^7.0.7",
"json-pointer": "0.6.2"

View File

@ -151,7 +151,7 @@
"mark.js": "^8.11.1",
"marked": "^4.0.15",
"mobx-react": "^7.2.0",
"openapi-sampler": "^1.3.0",
"openapi-sampler": "^1.3.1",
"path-browserify": "^1.0.1",
"perfect-scrollbar": "^1.5.5",
"polished": "^4.1.3",

View File

@ -3638,6 +3638,9 @@ culpa qui officia deserunt mollit anim id est laborum.
},
],
"responses": Object {
"204": Object {
"description": "User is deleted",
},
"400": Object {
"description": "Invalid username supplied",
},
@ -3697,7 +3700,7 @@ culpa qui officia deserunt mollit anim id est laborum.
"operationId": "updateUser",
"parameters": Array [
Object {
"description": "name that need to be deleted",
"description": "name that need to be updated",
"in": "path",
"name": "username",
"required": true,
@ -3718,6 +3721,16 @@ culpa qui officia deserunt mollit anim id est laborum.
"required": true,
},
"responses": Object {
"200": Object {
"content": Object {
"application/json": Object {
"schema": Object {
"$ref": "#/components/schemas/User",
},
},
},
"description": "User is updated successfully",
},
"400": Object {
"description": "Invalid user supplied",
},