Skip to content

Commit defc034

Browse files
authored
Merge branch 'master' into file-upload-spec-alignment
2 parents aa33415 + 22adad3 commit defc034

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL maintainer="[email protected]" \
1111
org.opencontainers.image.description="SwaggerUI Docker image" \
1212
org.opencontainers.image.licenses="Apache-2.0"
1313

14-
RUN apk add --update-cache --no-cache "nodejs" "libxml2>=2.13.4-r4"
14+
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"
1515

1616
LABEL maintainer="char0n"
1717

dist/swagger-ui-bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-es-bundle-core.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui-es-bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/swagger-ui.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-ui",
3-
"version": "5.20.7",
3+
"version": "5.20.8",
44
"main": "./dist/swagger-ui.js",
55
"module": "./dist/swagger-ui-es-bundle-core.js",
66
"exports": {

src/core/plugins/json-schema-2020-12/fn.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ export const makeGetType = (fnAccessor) => {
9898
Object.hasOwn(schema, "pattern") ||
9999
Object.hasOwn(schema, "format") ||
100100
Object.hasOwn(schema, "minLength") ||
101-
Object.hasOwn(schema, "maxLength")
101+
Object.hasOwn(schema, "maxLength") ||
102+
Object.hasOwn(schema, "contentEncoding") ||
103+
Object.hasOwn(schema, "contentMediaType")
102104
) {
103105
return "string"
104106
} else if (typeof schema.const !== "undefined") {

0 commit comments

Comments
 (0)