Alberto Alonso
Alberto Alonso
Also happening here. Here is my method signature (Kotlin): ``` @GetMapping(path = ["/v1/kyc-files/{proxyPath:.+}"]) fun getDocumentAttachment( @PathVariable("proxyPath") proxyPath: String ) : ResponseEntity ```
Additional info: Here are the Feign logs for the request (I hid private info): ``` ---> GET https://xxxx.execute-api.eu-west-1.vpce.amazonaws.com/v1/kyc-files/uploads/xxxx/abcdefg.png HTTP/1.1 Authorization: AWS4-HMAC-SHA256 ***** Content-Length: 78 Content-Type: application/json;charset=UTF-8 Host: xxxx.execute-api.eu-west-1.vpce.amazonaws.com X-Amz-Date: 20200331T141505Z...
This seems to be a bug when combining discriminators with references. In https://github.com/cdimascio/express-openapi-validator/blob/master/src/middlewares/parsers/schema.preprocessor.ts#L318 a `properties` field is added to the schema, even if empty. Then, ajv will detect that you...
I have created a PR to fix this: https://github.com/cdimascio/express-openapi-validator/pull/651
> @vivek-nadar @alonsohki. As requested by @OLPMO please provide a [minimal, complete, verifiable example](https://stackoverflow.com/help/mcve) that reproduces the issue if you want us to look at this. First, please verify if...