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
#/components/schemas/import generates export interface import { ... }, which is not valid TS.
#/components/schemas/package generates export interface package { ... }, which is not valid TS in strict mode.
Unclear what should actually happen when names clash with TS keywords. Maybe there should be option for name mapping, or auto conflict resolution by suffixes.
The text was updated successfully, but these errors were encountered:
Repro:
taxios-generate https://github.com/github/rest-api-description/raw/main/descriptions/api.github.com/api.github.com.json -o GitHubApi.ts -e GitHubApi
Happens because of:
#/components/schemas/import
generatesexport interface import { ... }
, which is not valid TS.#/components/schemas/package
generatesexport interface package { ... }
, which is not valid TS in strict mode.Unclear what should actually happen when names clash with TS keywords. Maybe there should be option for name mapping, or auto conflict resolution by suffixes.
The text was updated successfully, but these errors were encountered: