Skip to content

Commit b902861

Browse files
authored
Merge pull request #19 from russell/patch-1
Fall back to schema name if we don't have a title
2 parents 6c674f9 + eae766a commit b902861

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/markdown/openapi.md.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
{{#each openapi.components.schemas as |schema schemaName|}}
2626
{{#if schema.slug}}
2727
- [{{schema.title}}](#{{schema.slug}})
28-
{{else}}
28+
{{else if schema.title}}
2929
- {{schema.title}}
30+
{{else}}
31+
- {{schemaName}}
3032
{{/if}}
3133
{{/each}}
3234
{{/if}}

0 commit comments

Comments
 (0)