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
feat(openapi): async json schema converter support (#407)
This will expend the supports of converter for dynamic cases, or lazy
cases
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Documentation**
- Added a new section in the OpenAPI specification providing guidance on
extending JSON schema conversion using custom converters.
- **New Features / Refactor**
- Improved asynchronous processing for API generation and schema
conversion, ensuring smoother and more reliable handling of contract
procedures.
- **Tests**
- Updated test scenarios to validate asynchronous behavior, reinforcing
the stability of the new improvements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: apps/content/docs/openapi/openapi-specification.md
+25
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,31 @@ oRPC supports OpenAPI 3.1.1 and integrates seamlessly with popular schema librar
41
41
Interested in support for additional schema libraries? [Let us know](https://github.com/unnoq/orpc/discussions/categories/ideas)!
42
42
:::
43
43
44
+
::: details Want to create your own JSON schema converter?
45
+
You can use any existing `X to JSON Schema` converter to add support for additional schema libraries. For example, if you want to use [Valibot](https://valibot.dev) with oRPC (if not supported), you can create a custom converter to convert Valibot schemas into JSON Schema.
0 commit comments