Zudoku
Supported Extensions

x-zudoku-collapsed

Use x-zudoku-collapsed to control whether a tag category starts expanded or collapsed in the API navigation sidebar.

Location

The extension is added at the Tag Object level.

OptionTypeDescription
x-zudoku-collapsedbooleanWhether the tag starts collapsed. Defaults to true (collapsed).

When not set, the collapsed state falls back to the inverse of the expandAllTags option in the API configuration.

Example

YAMLCode
tags: - name: Getting Started x-zudoku-collapsed: false - name: Advanced x-zudoku-collapsed: true

In this example, Getting Started is expanded by default while Advanced starts collapsed.

Last modified on