Skip to content

Commit

Permalink
addming missing $
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaaym committed Nov 13, 2018
1 parent c387f30 commit 759b35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/generator.ts
Expand Up @@ -74,7 +74,7 @@ function cleanPropertyName(prop: string) {

function getType(item: SchemaItem): string {
if (item.$ref) {
return `Schema${item.$ref}`;
return `Schema$${item.$ref}`;
}
switch (item.type) {
case 'integer':
Expand Down

0 comments on commit 759b35c

Please sign in to comment.