Tag supports tag-only functionality
so1n opened this issue · 0 comments
so1n commented
TagModel was created as an OpenAPI function, but in practice it can also act as an attribute of a route and be used by the apply func.
In this feature, TagModel will add two parameters openapi_include
and label
. When openapi_include
is True, TagModel can be used by OpenAPI, and label
is the attribute value of the route, which is similar to sanic ctx.