Compare commits

...

10 Commits

Author SHA1 Message Date
kyy
f464ba2d31 Update swagger-ui
Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
Security scan for docker image / build (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 1m10s
2025-06-24 13:40:26 +09:00
swagger-bot
fceaec6050 chore(release): cut the v5.21.0 release 2025-04-13 19:37:38 +00:00
Oliwia Rogala
26967308e9 feat(oas31): display file upload input when contentMediaType or contentEncoding is present (#10412)
Refs #9278
2025-04-11 15:38:35 +02:00
Oliwia Rogala
c29e7126c9 fix: align OpenAPI 3.x.y file uploads with specification (#10409)
Refs #9278
2025-04-11 13:43:44 +02:00
Oliwia Rogala
22adad3a2e fix(json-schema-2020-12): infer type string when contentEncoding or contentMediaType is present (#10411)
Refs #9278
2025-04-10 23:52:15 +02:00
swagger-bot
255142acd0 chore(release): cut the v5.20.8 release 2025-04-10 11:40:44 +00:00
Vladimír Gorej
6e0cc0e491 fix(docker): address multiple HIGH security vulnerabilities (#10410) 2025-04-10 12:43:34 +02:00
dependabot[bot]
189f7d30d9 chore(deps-dev): bump koa from 2.15.4 to 2.16.1 (#10407) 2025-04-09 14:04:07 +00:00
swagger-bot
1c0f094653 chore(release): cut the v5.20.7 release 2025-04-07 07:35:32 +00:00
Matt Schwartz
da5935ea33 fix(style): prevent operationId from wrapping when space is available (#10259) 2025-04-07 08:01:33 +02:00
912 changed files with 1023 additions and 215 deletions

0
.agignore Normal file → Executable file
View File

0
.browserslistrc Normal file → Executable file
View File

0
.commitlintrc.json Normal file → Executable file
View File

0
.dockerignore Normal file → Executable file
View File

0
.editorconfig Normal file → Executable file
View File

0
.eslintignore Normal file → Executable file
View File

0
.eslintrc.js Normal file → Executable file
View File

0
.gitattributes vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/Bug_report.md vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/Feature_request.md vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/Support.md vendored Normal file → Executable file
View File

0
.github/dependabot.yaml vendored Normal file → Executable file
View File

0
.github/lock.yml vendored Normal file → Executable file
View File

0
.github/pull_request_template.md vendored Normal file → Executable file
View File

0
.github/workflows/codeql.yml vendored Normal file → Executable file
View File

0
.github/workflows/dependabot-merge.yml vendored Normal file → Executable file
View File

0
.github/workflows/docker-build-push.yml vendored Normal file → Executable file
View File

0
.github/workflows/docker-image-check.yml vendored Normal file → Executable file
View File

0
.github/workflows/nodejs.yml vendored Normal file → Executable file
View File

0
.github/workflows/release-swagger-ui-react.yml vendored Normal file → Executable file
View File

0
.github/workflows/release-swagger-ui.yml vendored Normal file → Executable file
View File

0
.gitignore vendored Normal file → Executable file
View File

0
.lintstagedrc Normal file → Executable file
View File

0
.npmignore Normal file → Executable file
View File

0
.npmrc Normal file → Executable file
View File

0
.nvmrc Normal file → Executable file
View File

0
.prettierrc.yaml Normal file → Executable file
View File

0
.releaserc Normal file → Executable file
View File

2
Dockerfile Normal file → Executable file
View File

@@ -11,7 +11,7 @@ LABEL maintainer="vladimir.gorej@gmail.com" \
org.opencontainers.image.description="SwaggerUI Docker image" \
org.opencontainers.image.licenses="Apache-2.0"
RUN apk add --update-cache --no-cache "nodejs" "libxml2>=2.13.4-r4"
RUN apk add --update-cache --no-cache "nodejs" "libxml2>=2.13.4-r5" "libexpat>=2.7.0-r0" "libxslt>=1.1.42-r2" "xz-libs>=5.6.3-r1" "c-ares>=1.34.5-r0"
LABEL maintainer="char0n"

0
LICENSE Normal file → Executable file
View File

0
NOTICE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
SECURITY.md Normal file → Executable file
View File

0
babel.config.js Normal file → Executable file
View File

0
composer.json Normal file → Executable file
View File

0
config/.eslintrc Normal file → Executable file
View File

0
config/jest/jest.artifact.config.js Normal file → Executable file
View File

0
config/jest/jest.unit.config.js Normal file → Executable file
View File

0
cypress.config.js Normal file → Executable file
View File

0
dev-helpers/dev-helper-initializer.js Normal file → Executable file
View File

0
dev-helpers/index.html Normal file → Executable file
View File

0
dev-helpers/oauth2-redirect.html Normal file → Executable file
View File

0
dev-helpers/style.css Normal file → Executable file
View File

0
dist/favicon-16x16.png vendored Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 665 B

After

Width:  |  Height:  |  Size: 665 B

0
dist/favicon-32x32.png vendored Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 628 B

After

Width:  |  Height:  |  Size: 628 B

0
dist/index.css vendored Normal file → Executable file
View File

0
dist/index.html vendored Normal file → Executable file
View File

0
dist/oauth2-redirect.html vendored Normal file → Executable file
View File

0
dist/swagger-initializer.js vendored Normal file → Executable file
View File

2
dist/swagger-ui-bundle.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

0
dist/swagger-ui-bundle.js.map vendored Normal file → Executable file
View File

2
dist/swagger-ui-es-bundle-core.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/swagger-ui-es-bundle-core.js.map vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/swagger-ui-es-bundle.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

0
dist/swagger-ui-es-bundle.js.map vendored Normal file → Executable file
View File

0
dist/swagger-ui-standalone-preset.js vendored Normal file → Executable file
View File

0
dist/swagger-ui-standalone-preset.js.map vendored Normal file → Executable file
View File

2
dist/swagger-ui.css vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/swagger-ui.css.map vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/swagger-ui.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/swagger-ui.js.map vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

0
docker/configurator/helpers.js Normal file → Executable file
View File

0
docker/configurator/oauth.js Normal file → Executable file
View File

0
docker/configurator/translator.js Normal file → Executable file
View File

0
docker/configurator/variables.js Normal file → Executable file
View File

0
docker/cors.conf Normal file → Executable file
View File

0
docker/default.conf.template Normal file → Executable file
View File

0
docker/embedding.conf Normal file → Executable file
View File

0
docs/README.md Normal file → Executable file
View File

0
docs/book.json Normal file → Executable file
View File

0
docs/customization/add-plugin.md Normal file → Executable file
View File

0
docs/customization/custom-layout.md Normal file → Executable file
View File

0
docs/customization/overview.md Normal file → Executable file
View File

0
docs/customization/plug-points.md Normal file → Executable file
View File

0
docs/customization/plugin-api.md Normal file → Executable file
View File

0
docs/development/scripts.md Normal file → Executable file
View File

0
docs/development/setting-up.md Normal file → Executable file
View File

0
docs/images/swagger-ui2.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

0
docs/images/swagger-ui3.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

0
docs/samples/webpack-getting-started/README.md Normal file → Executable file
View File

View File

0
docs/samples/webpack-getting-started/index.html Normal file → Executable file
View File

0
docs/samples/webpack-getting-started/src/index.js Normal file → Executable file
View File

View File

0
docs/samples/webpack-getting-started/webpack.config.js Normal file → Executable file
View File

0
docs/usage/configuration.md Normal file → Executable file
View File

0
docs/usage/cors.md Normal file → Executable file
View File

0
docs/usage/deep-linking.md Normal file → Executable file
View File

0
docs/usage/installation.md Normal file → Executable file
View File

0
docs/usage/limitations.md Normal file → Executable file
View File

0
docs/usage/oauth2.md Normal file → Executable file
View File

0
docs/usage/version-detection.md Normal file → Executable file
View File

0
flavors/swagger-ui-react/README.md Normal file → Executable file
View File

0
flavors/swagger-ui-react/dist/.npmrc vendored Normal file → Executable file
View File

0
flavors/swagger-ui-react/index.jsx Normal file → Executable file
View File

0
flavors/swagger-ui-react/release/create-manifest.js Normal file → Executable file
View File

0
flavors/swagger-ui-react/release/template.json Normal file → Executable file
View File

47
index.html Executable file
View File

@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HANMAC AI Cell</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist/swagger-ui.css" />
<style>
body {
margin: 0;
padding: 0;
}
#logo-bar {
display: flex;
align-items: center;
background-color: #f5f5f5;
padding: 10px 20px;
border-bottom: 1px solid #ccc;
}
#logo-bar img {
height: 40px;
margin-right: 15px;
}
#logo-bar h1 {
font-size: 20px;
font-weight: bold;
}
</style>
</head>
<body>
<!-- ✅ 로고 영역 -->
<div id="logo-bar">
<img src="/docs/logo.png" alt="PGN Logo" />
<h1>HANMAC AI</h1>
</div>
<!-- Swagger UI -->
<div id="swagger-ui"></div>
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist/swagger-ui-bundle.js?v=3"></script>
<script>
SwaggerUIBundle({
url: "/openapi.json",
dom_id: "#swagger-ui",
});
</script>
</body>
</html>

BIN
logo.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

8
package-lock.json generated Normal file → Executable file
View File

@@ -1,12 +1,12 @@
{
"name": "swagger-ui",
"version": "5.20.6",
"version": "5.21.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "swagger-ui",
"version": "5.20.6",
"version": "5.21.0",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime-corejs3": "^7.26.10",
@@ -16644,7 +16644,9 @@
"license": "MIT"
},
"node_modules/koa": {
"version": "2.15.4",
"version": "2.16.1",
"resolved": "https://registry.npmjs.org/koa/-/koa-2.16.1.tgz",
"integrity": "sha512-umfX9d3iuSxTQP4pnzLOz0HKnPg0FaUUIKcye2lOiz3KPu1Y3M3xlz76dISdFPQs37P9eJz1wUpcTS6KDPn9fA==",
"dev": true,
"license": "MIT",
"dependencies": {

Some files were not shown because too many files have changed in this diff Show More