bcherny/json-schema-to-typescript

Namespace referenced schemas

Open

#119 opened on Oct 1, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (449 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (3,302 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

A. A -> C, B -> C (schemas A and B both reference the schema C)

  • give top level schemas A and B, the namespaced schema A.C, and an alias B.C = A.C

B. A -> C, B -> C' (schema A references a schema C, and schema B references a different schema C that happens to have the same name)

  • give top level schemas A and B, and the namespaced schemas A.C and B.C

C. A -> C, A -> C' (schema A references two different schemas that both have the name C)

  • give the top level schema A, and the namespaced schemas A.C and A.C1

Contributor guide