API Catalog
If you're dealing with multiple APIs and multiple OpenAPI files, the API Catalog comes in handy. It creates an overview of all your APIs and lets you organize them into categories and tags.
Enable API Catalog
To enable the API Catalog, add a catalogs object to your Zudoku configuration file.
zudoku.config.ts
You can then add your APIs to the catalog by adding the categories property to your API
configuration.
Recommendation: nest API paths under the catalog path
For a consistent user experience, APIs that appear in the catalog should have their path prefixed
with the catalog path. For example, if your catalog is at /catalog, an API path should start with
/catalog/ (e.g., /catalog/api-users). APIs with paths outside the catalog path still appear in
the catalog, but clicking them navigates the user outside the catalog section.
zudoku.config.ts
To add the catalog to your navigation, use a link item:
zudoku.config.ts
Advanced Configuration
Filtering catalog items
You can filter which APIs are shown in the catalog by using the filterItems property. The function
receives the items and the catalog context (including auth) as arguments. Each item has a
categories array where each category has a label and tags.
zudoku.config.ts
Standalone APIs (without catalog)
APIs that are not part of a catalog can use any path and will appear as standalone API reference
pages. These APIs don't need categories and their paths don't need to be nested under a catalog.
zudoku.config.ts
See the API Reference page for full details on configuring individual APIs, including versioning and customization options.