Troubleshooting API category and navigation issues

Prev Next

Nested categories not displaying correctly

When it occurs: Endpoints that should appear in nested subcategories are not organised hierarchically after import.

Why it happens: Document360 supports second-level subcategories using the > symbol in OpenAPI tags. For example, a tag of Pets > Details will create a Pets category with a Details subcategory inside it. This structure is preserved during resync operations.

tags:
  - name: "Pets > Details"

NOTE

The API documentation workspace supports a maximum of three levels of subcategories. If your spec includes more than three levels, any additional levels are placed at the third level.


Category order is not what I expected

When it occurs: After uploading a spec, categories appear in a different order than expected.

Why it happens: Categories in Document360 are created based on the tag order defined in the spec file. The order of tags in your spec determines the order categories appear in the documentation.

How to fix it: Reorder the tags array in your OpenAPI spec to match the desired category order, then resync.


x-tagGroups extension not supported

When it occurs:

An OpenAPI specification that uses the x-tagGroups vendor extension to group tags into parent navigation sections does not produce grouped navigation in Document360. The x-tagGroups structure is not recognised during import and has no effect on how categories are displayed.

Why it happens:

x-tagGroups is a vendor-specific extension used by tools such as Redoc and Swagger UI. Document360 does not process vendor extensions of this kind. Category grouping in Document360 is derived entirely from the standard tags array in the OpenAPI specification.

How to fix it:

To achieve grouped or hierarchical navigation without x-tagGroups, use one of the following approaches:

  1. Reorder the tags array to control category sequence.

    The order of tags in your specification determines the order in which categories appear in your documentation. If you want to change the order after import, reorder the tags array in your specification and resync.

  2. Use the > symbol in tag names to create nested categories.

    For example, a tag named Users > Authentication creates a Users category with an Authentication subcategory inside it.

    Example:

    tags:
      - name: "Users > Authentication"
      - name: "Users > Profile"
      - name: "Catalog > Products"
    
Note:

The API documentation workspace supports a maximum of three levels of subcategories. If your specification includes more than three levels, any additional levels are placed at the third level.