Skip to content

07. API Usage: Path Operation Tags

Perraco edited this page Nov 13, 2024 · 1 revision

For path operations, tags can be defined to categorize and group related endpoints.

If any of the tags are not previously defined at top level in the plugin configuration, these will be automatically merged to the top-level list, but without descriptions.

api {
    tags = setOf("Items", "Inventory")
    tags = setOf("AnotherTag")
    tags = setOf("AndMoreItems", "AndMoreInventory")
}