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
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.
The text was updated successfully, but these errors were encountered:
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.
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
<#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.
The text was updated successfully, but these errors were encountered: