Skip to content
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

openapi 3.1 - support json schema dialect for openapi schemas #5009

Open
chrisradek opened this issue Nov 7, 2024 · 0 comments
Open

openapi 3.1 - support json schema dialect for openapi schemas #5009

chrisradek opened this issue Nov 7, 2024 · 0 comments
Labels
emitter:openapi3 Issues for @typespec/openapi3 emitter

Comments

@chrisradek
Copy link
Member

Open API 3.1 schemas are a superset of Json Schema draft 2020-12. This is different from Open API 3.0 where Open API schemas only supported a subset of draft-06 (while also including some metadata like nullable instead of using type: "null")

This issue tracks updating/creating the Open API 3.1 schema emitter to target Json Schema 2020-12.

This will involve

  • Creating JSON Schema 2020-12 types that the Open API 3.1 schema type can reference
  • Creating an Open API 3.1 schema emitter that targets the Open API 3.1 schema types
@chrisradek chrisradek added the emitter:openapi3 Issues for @typespec/openapi3 emitter label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:openapi3 Issues for @typespec/openapi3 emitter
Projects
None yet
Development

No branches or pull requests

1 participant