typia.json.application()
function has been changed to support standard OpenAPI v3.0/v3.1 specified JSON schema.
About the detailed OpenAPI spec's JSON schema structures, visit one of below:
- OpenAPI v3.1: https://github.com/samchon/openapi/blob/master/src/OpenApi.ts
- OpenAPI v3.0: https://github.com/samchon/openapi/blob/master/src/OpenApiV3.ts
You can use it like below:
typia.json.application<[X, Y, Z], "3.0">();
typia.json.application<[X, Y, Z], "3.1">();
What's Changed
- Update typescript requirement from ^5.4.3 to ^5.4.4 by @dependabot in #1021
- Update typescript requirement from ^5.4.4 to ^5.4.5 by @dependabot in #1023
- Close #920: support standard JSON schema (OpenAPI). by @samchon in #1024
- Fix
Record<string, string>
bug oftypia.json.application<"3.1">()
function. by @samchon in #1025
Full Changelog: v5.5.10...v6.0.1