Currently feathers-swagger will create a tag for any service that has been defined using the URL part for the service. This is fine as a default but it custom tags have been defined then the tag that gets added it's referenced by anything and you end up with a dangling tag. This causes an empty section when rendering the file with e.g. Redoc.
This PR instead only adds this default tag if no tags have been defined for a method in the docs.
Summary
Currently feathers-swagger will create a
tag
for any service that has been defined using the URL part for the service. This is fine as a default but it custom tags have been defined then the tag that gets added it's referenced by anything and you end up with a dangling tag. This causes an empty section when rendering the file with e.g. Redoc.This PR instead only adds this default tag if no tags have been defined for a method in the docs.