Commit 4c7f327
committed
docs(openapi): document OpenAPI 3.2 hierarchical tags
Add a 'Hierarchical tags' subsection to the Operations > Tags page covering the parent and kind options on DocumentBuilder.addTag().
Notes that setOpenAPIVersion('3.2.0') must be called so the generated document declares a 3.2-compatible openapi version; otherwise it still reports 3.0.0 and strict validators reject the new tag fields.
Closes nestjs/swagger#39261 parent 8664a9b commit 4c7f327
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
0 commit comments