Results 193 comments of Jeremy Whitlock

I'm in the process of clearing out the issues/PRs. As soon as that's done, I'll cut a release.

`sway` is the successor to the API portion of `swagger-tools`. They are unrelated other than this.

I've not looked at the code in a while but we use `faker` indirectly via `json-schema-faker`: https://github.com/apigee-127/sway/blob/e9ad6e81af41f526567e9d5a0f150e59e429e513/lib/helpers.js#L28 to allow for `Parameter#getSample` to generate an example for a `Parameter`'s schema. If...

The reason is z-schema modifies the input document to keep track of what it has processed and what it hasn't: https://github.com/zaggino/z-schema/issues/160#issuecomment-214901835 Not only does this cause problems as mentioned in...

Yes and no. I think in the linked swagger-tools issue I got a good enough feel for how to do this but it's just not been a high priority. I...

I'm up for any help I can get, I've punted on this long enough. I've thought about this a few times but I have to tell you that this likely...

Wait...so you don't want to implement discriminator validation, you just want to stop indirectly used references _(discriminator)_ from being marked as `UNUSED_DEFINITION`? That is welcome too but that is not...

As I think about this, I realize that the easiest way to do this might be to leverage JSON Schema, like we do for non-body parameters.

Ah, maybe I assumed on #58. _"Support Discriminator"_ is a duplicate of this, as this issue is about general support for discriminator. I'm just saying that there are multiple parts...

I thought @IvanGoncharov had an incoming PR for that but maybe I was wrong. I'm working on json-refs stuff now with hopes of releasing a new sway version within the...