https://github.com/chadxz/param-ref-repro
Reproduction of the problem with express-openapi not coercing parameters that have a schema ref
https://github.com/chadxz/param-ref-repro
Last synced: 3 months ago
JSON representation
Reproduction of the problem with express-openapi not coercing parameters that have a schema ref
- Host: GitHub
- URL: https://github.com/chadxz/param-ref-repro
- Owner: chadxz
- Created: 2020-03-26T22:34:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T07:37:17.000Z (over 2 years ago)
- Last Synced: 2025-01-23T22:18:27.760Z (5 months ago)
- Language: JavaScript
- Homepage: https://github.com/kogosoftwarellc/open-api/issues/647
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Issue link: https://github.com/kogosoftwarellc/open-api/issues/647
Run server:
```
$ node server.js
```See expected behavior:
```
$ curl localhost:3000/without-ref?flag=true
{ "flag": true }
```See buggy behavior:
```
$ curl localhost:3000/with-ref?flag=true
{ "flag": "true" }
```