Hide Authenticate from list

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.

Any attributes added to Services need to be added before Configure() is called, like in the AppHost constructor or before AppHost().Init() is called.