Commit eae766a
authored
Fall back to schema name if we don't have a title
When rendering the petstore example the schemas in the toc are blank because of missing title attributes, falling back to the schema name works in this case.
```
* [Servers](#servers)
* [Paths](#paths)
- [`GET` /pets](#op-get-pets)
- [`POST` /pets](#op-post-pets)
- [`GET` /pets/{petId}](#op-get-pets-petid)
* [Schemas](#schemas)
-
-
-
```1 parent 37231cf commit eae766a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments