Results 375 comments of Jeremy Whitlock

Can you give a code snippet and some example? I ask because we have heavily tested validation so I'm not sure how to reproduce.

I cannot reproduce this. Whenever I throw your definitions into my API and have my request/response use them, if I post only what you do, I get a request validation...

Can you run with `DEBUG=swagger-tools*` and paste the output of the failed request? swagger-validator should be working right based on my tests.

Can you show me the rest of your server file, replacing sensitive data with reasonable mocks so as not to change the structure of the file?

I hate to keep bugging you but I cannot reproduce it. If you'd rather not give me your server file, could you give me a recipe via a patch/PR that...

I was able to reproduce it. It required me to get outside of the test suite. Let me take a look.

I've figured it out, swagger-tools is working right which is why my test worked but the server didn't. Your parameter references `#/definitions/Command` but you want it to be `#/definitions/Command1`. If...

Let me get @webron involved as I don't understand the `discriminator` field honestly, I thought it was only useful for swagger-codegen. I would expect that allowing a parameter, or a...

Let me get this straight: If your model has an ancestor that uses the `discriminator`, that model is a valid value anywhere the ancestor is used as a type?

Wow...that changes all kinds of things.