Mathew Polzin
Mathew Polzin
@brandonbloom do you have an example or two of OpenAPI documents that take advantage of `$dynamicRef`? I'm curious if they tend to use local `$def`s within the json-schemas or if...
I was moreso curious if you had examples that motivated you to request the feature; if it turns out that OpenAPIKit support for dynamic reference use-cases does not come all...
> maybe a way to make progress here would be to first identify the minimum work needed to support the simple `List` use case, and generalize from there. In that...
I've got work ahead of me just to properly represent `$dynamicRef` in the AST of OpenAPIKit, though nothing about that will be overly complex. But beyond the first step of...
It may help me to get the 10,000 ft view of how the generator handles other existing recursive cases it already handles -- for one thing, to help me understand...
Thanks. Even easier than reading the code! So, I am thinking that the easiest path forward is possibly for OpenAPIKit to facilitate the swift generator using roughly the same code...
This reminds me a lot of [this comment](https://github.com/apple/swift-openapi-generator/issues/286#issuecomment-1728264815) (and the preceeding/following one). Are we talking about a different situation in this case?
If I recall correctly, one reason I want to avoid removing the `.null()` schema from the `oneOf` (and similar) is because it is lossy so OpenAPIKit no longer knows where...
> does that mean we just need to filter out the null case in the generator and the rest should work? Correct; OpenAPIKit currently sets any/one/all-of schemas as nullable if...
If I understand the above conversation fully then this PR might not represent the easiest solution which would hopefully simply involve filtering out .null() schemas before generating code. Food for...