quobix
quobix
The problem here is that currently the library will swap out everything in the node if there is a `$ref` provided. So `description` and `nullable` when used with a ref...
Just an FYI, you can use `utils.FindKeyNodeTop()` to pull out the `nullable` key https://github.com/pb33f/libopenapi/blob/main/utils/utils.go#L260
Ah yes, I thought the same thing when I saw the release notes for 1.20. Yes this is a good idea, adding it to the backlog.
Please feel free to contribute! This feature isn't on my immediate roadmap (I have no use for it myself right now), your PR would be welcome.
I would avoid working on this until the library is ready for 1.0, it's a major breaking change to the top level of the library in terms of signature. It's...
Can you provide a sample specification snippet please?
Interesting. There are two ways to handle this: add support by crafting a new `allOf` entry based on what is supplied. Alternatively, the library could ignore it and include an...
I think choice A is the best one. Let's do that, adding it to the backlog.
I've seen a few more requests come in for this. Will support it yes - it's just a case of time to add the feature.
I absolutely love that we're discussing this. WASM has been a goal for a while. @jooskim, thoughts?