Mathew Polzin

Results 225 comments of Mathew Polzin

Would it be helpful if I applied a change that propagated nullable such that "if any schema in an anyOf is nullable then the parent anyOf is nullable?" That I...

How about this compromise: I’ll propagate nullable to the root of an anyOf and then swift-openapi-generator can choose to ignore `.null` json schemas. Roughly what you said but minus me...

The necessary change to OpenAPIKit was made with the newest [release candidate](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-rc.2). This project's package manifest has already been updated to use that version, so the remaining work will be...

> Upon more investigation, I noticed that actually the "null" schema in the anyOf is being translated into the OpenAPIKit JSONSchema.fragment type. > Is this correct? I see there's a...

> Filter it out, just keep track of the fact so that you also omit the verify call at the end of the decoding initializer. RE keeping track of having...

@brandonmaul ah yes, the screenshot does have that info. thanks. is it possible you are inspecting another part of the same OpenAPI Document in the given screenshot? I notice the...

@brandonmaul very strange. you've got me stumped; l was able to reproduce your experience by running locally myself and using Xcode to set breakpoints and inspect values. However, I have...

This is a pretty twisty rabbit hole. I was wrong when I blamed the Swift tooling or Xcode before; the difference was that I was using the `JSONDecoder` to prove...

I've begun exploring this in OpenAPIKit. I've only thought on it for a few minutes so far, but I wanted to make sure to extend an invitation for help deciding...

OpenAPI.Reference may not quite fit the needs here since that type wraps a reference and adds description/summary overriding; it does manage to introduce different behavior compared to JSONReference, but since...