Open tower-guidev2 opened 1 year ago
I think the message is self-explanatory - $ref
doesn't allow recursion. Draft 2019-09 of JSON Schema introduced $recursiveRef
, and draft 2020-12 introduced $dynamicRef
, but json-kotlin-schema-codegen
does not support either of these constructs. Sorry about that.
I have been working on a new version which supports the full draft 2020-12 spec., but I'm afraid that's still some months away from being ready.
Sorry I can't be more help.
thanks for responding to my issue. and nice work on your library i have managed to make some progress with a hacky approach
@tower-guidev2 If that still has any relevance for you, you may try out my PR: https://github.com/pwall567/json-kotlin-schema-codegen/pull/43 Feedback welcome!
I wish to generate kotlin data classe for the FHIR v4.0.1 draft v7 json schema (download) and executing
gives