1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-31 01:16:01 +02:00

chore: upgrade @unleash/express-openapi (#1976)

This commit is contained in:
Gastón Fournier 2022-08-29 12:23:06 +02:00 committed by GitHub
parent 0510990503
commit 47532dee7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 13 deletions

View File

@ -79,7 +79,7 @@
]
},
"dependencies": {
"@unleash/express-openapi": "^0.2.0",
"@unleash/express-openapi": "^0.2.1-beta.0",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"async": "^3.2.4",

View File

@ -33,14 +33,7 @@ exports[`should serve the OpenAPI UI 1`] = `
<div id=\\"swagger-ui\\"></div>
<script src=\\"./swagger-ui-bundle.js\\"></script>
<script src=\\"./swagger-ui-standalone-preset.js\\"></script>
<script>
window.onload = function () {
window.ui = SwaggerUIBundle({
url: \\"/docs/openapi.json\\",
dom_id: '#swagger-ui'
})
}
</script>
<script src=\\"./swagger-ui-init.js\\"></script>
</body>
</html>

View File

@ -1432,10 +1432,10 @@
"@typescript-eslint/types" "5.35.1"
eslint-visitor-keys "^3.3.0"
"@unleash/express-openapi@^0.2.0":
version "0.2.0"
resolved "https://registry.npmjs.org/@unleash/express-openapi/-/express-openapi-0.2.0.tgz"
integrity sha512-wpZw5/SDc8nWFp5WtlSDbhI0fYNEPKSfcsn8nZKKw3wdylW0jcafYvN3LuJQXIYuHRtn6IYs8Lh+Ne68su7+lA==
"@unleash/express-openapi@^0.2.1-beta.0":
version "0.2.1-beta.0"
resolved "https://registry.yarnpkg.com/@unleash/express-openapi/-/express-openapi-0.2.1-beta.0.tgz#1f5f43c6eb46c490990dc3e4709ab23a48a24e9a"
integrity sha512-72pNESnWyIvsLZaYjaBHwPXzO361up/A1tA/Mv+eG1MkntRJMNhRSgPzPvoP5j7pCxKeXqu1FRfXTXLRzGo+HA==
dependencies:
ajv "^6.10.2"
http-errors "^1.7.3"