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
I want not write manually interface in typescript, I want to use library json-schema-to-typescript, but I can't
How I can rewrite this TS code to json-schema, and how I can use json-schema-to-typescript extends from two interfaces?
now library json-schema-to-typescript doesn't support inheritance from more than two interfaces?
and I try to use extends in basicTypes.json
{
"definitions": {
"GetMysqlSuccessPayload ": {
"title": "GetMysqlSuccessPayload",
"type": "object",
"extends": {
"$ref": "#/definitions/MysqlPayload ", // How to inherits from two definitions
"$ref": "#/definitions/MysqlCredential "
}
}
.......
}
}
The text was updated successfully, but these errors were encountered:
I have interface on TS, and it works, because I define this interface manually
I want not write manually interface in typescript, I want to use library
json-schema-to-typescript
, but I can'tHow I can rewrite this TS code to json-schema, and how I can use json-schema-to-typescript
extends
fromtwo
interfaces?now library
json-schema-to-typescript
doesn't support inheritance from more than two interfaces?and I try to use
extends
inbasicTypes.json
The text was updated successfully, but these errors were encountered: