Open josh-hemphill opened 1 year ago
Hi Josh,
JSON Schemas tend to use different subsets of the spec. My recommendation would be to write this converter yourself, and stay focused on the subset of JSON Schema that works for you. I doubt a general-purpose tool will work well.
-Ulysse
On Thu, Jun 1, 2023 at 2:17 PM Josh @.***> wrote:
Couldn't find anywhere else to ask this, is anyone working on ways to convert from JSON Schema or from the extracted types in OpenAPI schemas to JTD? I have APIs that auto-generate OpenAPI specs, and client generation code that can optimize on JTD schemas; I can still generate clients, but I don't have the ability to do optimization based on static analysis of JTD schemas, it'd be really nice to be able to generate JTD schemas from my API spec.
— Reply to this email directly, view it on GitHub https://github.com/jsontypedef/json-typedef-infer/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUIOJMXQH45AHPUYAOK53XJEBIBANCNFSM6AAAAAAYXPO7BQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Couldn't find anywhere else to ask this, is anyone working on ways to convert from JSON Schema or from the extracted types in OpenAPI schemas to JTD? I have APIs that auto-generate OpenAPI specs, and client generation code that can optimize on JTD schemas; I can still generate clients, but I don't have the ability to do optimization based on static analysis of JTD schemas, it'd be really nice to be able to generate JTD schemas from my API spec.