You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library seems awesome. I had hoped to able to use it to work with the openapi spec in code. I don't know much about the details of the above error message however. Is this like a single bug (i.e. it should work) or is this a very complicated file (i.e. this is far off and not expected to work at the moment)?
The text was updated successfully, but these errors were encountered:
This looks to be at least a couple of bug fixes away. Proximately (i.e. the bug you hit) is that typify (incorrectly) assumes that references are going to be on their own without other data. This was true in earlier JSON Schema revisions, but is not true in more recent revisions. I think we could do a transformation effectively into this:
After that, I see some use of patternProperties that I don't think we're going to handle properly now (#522).
If you're thinking about making a OpenAPI 3.1 crate in the style of openapiv3 I'd be interested in hearing your thoughts. I have elaborate plans around 3.1 support... but the complexities of JSON Schema 2022-10-07 are not insignificant.
My use-case is auto-generating PostgreSQL FDWs from OpenAPI specs. Is there anything in particular you want to me elaborate on? I am happy to share my thoughts although I know more about PostgreSQL than OpenAPI and JSON schemas.
Hi, trying to parse the OpenAPI v3.1 specification itself fails with the following error message:
This library seems awesome. I had hoped to able to use it to work with the openapi spec in code. I don't know much about the details of the above error message however. Is this like a single bug (i.e. it should work) or is this a very complicated file (i.e. this is far off and not expected to work at the moment)?
The text was updated successfully, but these errors were encountered: