Skip to content

Commit

Permalink
fix: Components property links (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-martinez authored Sep 5, 2022
1 parent 85c94ca commit d17a0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/definition.pug
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mixin displayType(definition, type)
if (type.ref)
if (name.includes('@'))
- name = definition.subDefinitionsMap[type.ref].name
a(href=componentsApiBasePath+type.ref.replace(/\.json/, '.html'))= name
a(href=componentsApiBasePath+type.ref.replace(/\.schema.json/, '.html'))= name
else
| #{name}
if (type.isArray)
Expand Down

0 comments on commit d17a0d1

Please sign in to comment.