Skip to content

Add support for OAS 3.2 Nested Tags #9510

@artsiommiksiuk

Description

@artsiommiksiuk

Clear and concise description of the problem

According to OAS 3.2 spec tags now can have parent field, allowing to create tags hierarchy.

https://spec.openapis.org/oas/v3.2.0.html#tag-object

I couldn't find any documentation around it and seems like it wasn't yet implemented.

I'm proposing to to extend default @tag decorator to accept now variadic amount of strings.

@tag("parent1", "parent2", "actual-tag")
op myop(): void

In this case all strings will represent hierarchy path.

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions