-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeSpec integration with JSON Schema #2464
Comments
From the issue, there could be different requirements:
#1 We do support it already. @mikekistler to check with Health Insight team. #2 Keeping this open on backlog for future design discussions. |
@mikekistler, @allenjzhang |
BTW - "@useref for emitter to generate correct output which we currently support" |
I assume we are talking about Json Schema not OpenAPI here, and yeah |
Can you give more detail here? I'm not sure I understand the scenario yet. |
You must import the @typespec/openapi3 package to use the See this link for more information and a Playground example of using the |
@mikekistler |
Yes ... for OpenAPI v2 you need to use the @azure-tools/typespec-autorest package. Here's a playground example |
While this has been an |
Services that conform to industry standard data formats, e.g Health Insights and the FHIR standard, would benefit from TypeSpec support to directly import JSON Schema definitions.
An example of where this support would be really useful is the Health Insights service, which works with data that conforms to the FIHR industry standards, which have published JSON schemas, e.g.
observation.schema.json.html
The text was updated successfully, but these errors were encountered: