Skip to content

Commit

Permalink
Merge pull request #153 from trojs/feature/set-limit-to-5mb
Browse files Browse the repository at this point in the history
You can also set a number as maximum body size
  • Loading branch information
w3nl authored Oct 1, 2024
2 parents 83af169 + 872013d commit cd106d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@trojs/openapi-server",
"description": "OpenAPI Server",
"version": "2.0.2",
"version": "2.0.3",
"author": {
"name": "Pieter Wigboldus",
"url": "https://trojs.org/"
Expand Down
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const getOriginResourcePolicy = (origin) => ({
* @param {string=} params.poweredBy
* @param {string=} params.version
* @param {any[]=} params.middleware
* @param {string=} params.maximumBodySize
* @param {string|number=} params.maximumBodySize
* @returns {Promise<{ app: Express }>}
*/
export const setupServer = async ({
Expand Down

0 comments on commit cd106d6

Please sign in to comment.