-
Notifications
You must be signed in to change notification settings - Fork 336
Open
Labels
emitter:openapi3Issues for @typespec/openapi3 emitterIssues for @typespec/openapi3 emitterfeatureNew feature or requestNew feature or requesttriaged:core
Milestone
Description
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(): voidIn 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emitter:openapi3Issues for @typespec/openapi3 emitterIssues for @typespec/openapi3 emitterfeatureNew feature or requestNew feature or requesttriaged:core