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
In our case, dereferencedName could be #/definitions/v1.ManagedFieldsEntry, it's not a filename but internal reference name, but justName consider it as filename always, it should consider # character actually. Currently, it returns v1 but should be v1.ManagedFieldsEntry or ManagedFieldsEntry, right?
json-schema-to-typescript/src/normalizer.ts
Line 100 in 25c1d27
In our case,
dereferencedName
could be#/definitions/v1.ManagedFieldsEntry
, it's not a filename but internal reference name, butjustName
consider it asfilename
always, it should consider#
character actually. Currently, it returnsv1
but should bev1.ManagedFieldsEntry
orManagedFieldsEntry
, right?Proposal:
json-schema-to-typescript/src/utils.ts
Lines 167 to 172 in 25c1d27
The text was updated successfully, but these errors were encountered: