Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit ca3562d

Browse files
Fixed typos in an example
1 parent 45556e4 commit ca3562d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Swagger Express Middleware adheres to [Semantic Versioning](http://semver.org/).
3434
* As with previous versions extra files provided to swagger routes will 413 and any files coming
3535
in outside of the swagger routes will be passed through multer. The 413 functionality was recreated
3636
[like so](https://github.com/APIDevTools/swagger-express-middleware/pull/165#discussion_r396015249).
37-
* Indexed params are placed in exactly the index specified so `foo[0]=1&foo[2]=1` results in a param
38-
like `foo: [1, undefined, 1]` whereas previously it would have been `[1, 2]`,
37+
* Indexed params are placed in exactly the index specified so `foo[0]=A&foo[2]=B` results in a param
38+
like `foo: ["A", undefined, "B"]` whereas previously it would have been `["A", "B"]`,
3939
[example here](https://github.com/APIDevTools/swagger-express-middleware/blob/244a1aa05e4bc21ee96b8a7973f98c76406ea4c5/test/specs/request-parser.spec.js#L668-L679)
4040

4141
[Full Changelog](https://github.com/APIDevTools/swagger-express-middleware/compare/v3.0.1...v4.0.0)

0 commit comments

Comments
 (0)