Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Reproduction of the problem with express-openapi not coercing parameters that have a schema ref

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" }
```