Skip to content

Commit 7ab0967

Browse files
committed
Merge branch 'master' into fix-examples-error
2 parents deab147 + 088c3a4 commit 7ab0967

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"#config": "./src/config.ts"
1010
},
1111
"dependencies": {
12-
"@data-fair/lib-express": "^1.15.0",
12+
"@data-fair/lib-express": "^1.16.0",
1313
"@data-fair/lib-node": "^2.5.0",
1414
"config": "^3.3.12",
1515
"express": "^5.0.1",

api/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const app = express()
77

88
// no fancy embedded arrays, just string and arrays of strings in req.query
99
app.set('query parser', 'simple')
10-
app.use(createSiteMiddleware('openapi-viewer', true))
10+
app.use(createSiteMiddleware('openapi-viewer', { prefixOptional: true, neverInternal: true }))
1111

1212
app.set('json spaces', 2)
1313
app.use(express.json())

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)