You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. Currently, I don't see an option to include the <meta name="robots" content="noindex, nofollow" /> tag in the section of the Swagger UI generated HTML. Or really anyway to modify the default HTML. This meta tag is for preventing search engines from indexing and following links on Swagger UI pages. Without this tag, there’s a risk that these pages might be inadvertently exposed to search engines. Which is a bit problematic for testing environments or deployed sites used for API exploration.
Right now I'm handling this by forking the repository and manually adding the tag in cowboy_swagger/priv/swagger/index.html myself. But I think maybe there should be option provided by Swagger UI to include it. Is there already a method to do this that I might be missing, or could this feature be considered for future updates?
The text was updated successfully, but these errors were encountered:
Hey. Currently, I don't see an option to include the
<meta name="robots" content="noindex, nofollow" />
tag in the section of the Swagger UI generated HTML. Or really anyway to modify the default HTML. This meta tag is for preventing search engines from indexing and following links on Swagger UI pages. Without this tag, there’s a risk that these pages might be inadvertently exposed to search engines. Which is a bit problematic for testing environments or deployed sites used for API exploration.Right now I'm handling this by forking the repository and manually adding the tag in cowboy_swagger/priv/swagger/index.html myself. But I think maybe there should be option provided by Swagger UI to include it. Is there already a method to do this that I might be missing, or could this feature be considered for future updates?
The text was updated successfully, but these errors were encountered: