Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
11 months ago
Solved

Is it possible to group paths in an API?

Originally posted by user Victor to the Stoplight Community on 01/15/2024 at 11:37 ET.

I have an API on Stoplight that contains more and more paths. Is there a way to create some sort of groups or categories? The goal is purely for the developers reading the doc, like having a menu with different categories to open related paths. I know I can create several APIs to achieve this, but this causes issues when generating client codes (plus, I only have a single API, I just have a lot of paths). Thanks!

  • MariusSc78 [01/15/2024 - 16:53 ET]

    Hi, you can achieve this by using tags on operations. However, nested groups are not doable - just one level of grouping.

  • Stoplight's avatar
    Stoplight
    Community Manager

    MariusSc78 [01/15/2024 - 16:53 ET]

    Hi, you can achieve this by using tags on operations. However, nested groups are not doable - just one level of grouping.

    • Stoplight's avatar
      Stoplight
      Community Manager

      Victor (OP) [01/16/2024 - 04:29 ET]

      That'll do it, thanks!