Zachary Hamm

Results 20 comments of Zachary Hamm

Okay, so to clarify, here's the three pieces I got from those links: **Implicit Mapping:** If a `mapping` section is not provided, the value of each key will be used...

I just spoke to one of my teammates, and the spec that's live at the moment (which doesn't work) has the `./` prepended like ``` discriminator: propertyName: type mapping: SCHEMA_A:...

Ahh wait, I think I'm understanding now. The definition for this mapping section is for a "relative reference" not a JSON reference which is what the `$ref` is. https://github.com/handrews/OpenAPI-Specification/blob/4a46b20c451de02e5dee9974fbcbb9be24098d10/versions/3.0.4.md#relative-references-in-urls >...

So if that understanding is correct, that essentially means we can't use discriminators with the redocly bundler if we have our schema split across multiple files? We tried the following...

Right, but that's using a single OpenAPI file right? We have our spec split across multiple directories and bundle them into a single file in our docker image.

> @its-hammer-time is this how you think it should work? Yeah exactly! Either swap it for `#/components/...` or resolve the references inline much like what happens under allOf. I'm not...

Hey @tatomyr - I see you have a PR out with a fix. Any update on when that's expected to be released?

Hey @tatomyr, it seems to work when I run it in a "Mac" environment. What I mean by that is NPM and DockerCLI both work, but as soon as I...

Okay, this is very interesting. I was able to isolate a failure case for two endpoints like the following: ``` # This does NOT work /endpoint/A /endpoint/B # This works...