We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12bdbf9 commit eaf2d68Copy full SHA for eaf2d68
.changeset/few-files-compete.md
@@ -0,0 +1,5 @@
1
+---
2
+'gitbook': patch
3
4
+
5
+OpenAPI operation title fallback in sections
packages/gitbook/src/lib/document-sections.ts
@@ -46,7 +46,7 @@ export async function getDocumentSections(
46
sections.push({
47
id: block.meta.id,
48
tag: operation.method.toUpperCase(),
49
- title: operation.operation.summary ?? operation.path,
+ title: operation.operation.summary || operation.path,
50
depth: 1,
51
deprecated: operation.operation.deprecated,
52
});
0 commit comments