question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: sub-tags grouping

See original GitHub issue

I don’t know it is good place to introduce new Feature into swagger specification - if not please give me information where i can put this proposition.

My proposition is to use following convention in tags names (using dots to nesting subtags):

users.client     # and use this tag to client GET/POST/...
users.seller     # and use this tag to seller GET/POST/...
users.admin      # and use this tag to admin GET/POST/...
books            # use this to general books GET/POST...
books.sell       # use this to GET/POST... associated with the sell
books.management # use this to GET/POST... associated with the books management

And in output generated documentation web-page we will get:

user >
       client >
GET
POST
...
       seller >
GET
POST
...
       admin >
GET
POST
...

books >
GET
POST
...
       sell >
GET
POST
...
       management >
GET
POST
...

This feature is especially practical for large APIs.

Or may be better way is not change ‘tags’ but rather add new filed ‘groups’ which will contain such dot-separated nested groups?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:105
  • Comments:27 (2 by maintainers)

github_iconTop GitHub Comments

24reactions
andre-dasilvacommented, Apr 20, 2022

whats the current state of this issue? will this be supported in the future?

19reactions
kael-shipmancommented, Apr 20, 2020

I +1 this feature request, and put my vote behind the fully backward-compatible scheme in which tags remain a single string with the option of a special delimiter character to denote hierarchy (e.g., Main Tag|Sub Tag|Tertiary Tag). My preference is | or :, as these are common delimiter characters in other tagging schemes, but it looks like there’s some momentum around ., and I would be happy with that as well.

It’s fair to note that, given the above, this feature request is completely impertinent to OAS and is instead an implementation detail of docs viewers. Given that, it should be fairly simple for docs viewers to implement support for this post-hoc, so I’m personally going to go forward with using the scheme and encourage docs viewers to catch up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Organizing tags in groups - The User Research Platform
This article will teach you about how tag groups support you and about how you create them. Just as for notes, all your...
Read more >
Tag Groups: Understand how your tags work together - Parse.ly
Today, we're introducing Tag Groups. For customers with robust tagging strategies, this is a feature that will help you better understand ...
Read more >
Group tags for complex experimental designs - Galaxy Training!
A collection of microtutorials explaining various feature... ... This tutorial outlines how to set and use group tags with the DESeq2 tool.
Read more >
What are Featured Tags? - Patreon Support
. Tags are keywords that you can add to your posts to help organize content into categories. Tags serve the purpose of organizing...
Read more >
Solved: Sub Tags Option in OpenAPI 3.0
Solved: Hi All, Is it possible to create sub tags and group methods ... Related feature request in the OpenAPI Specification repository:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found