Is it possible to hide the authenticate methods from swagger/openapi? I was able to use the ExcludeMetadataAttribute on other methods I want to hide, but I tries
typeof(Authenticate).AddAttributes(new ExcludeMetadataAttribute()); and typeof(AuthenticateService).AddAttributes(new ExcludeMetadataAttribute()); without success.