/// <summary>
        /// Adds all endpoints from a assembly to the manifest
        /// </summary>
        /// <param name="builder">The current instance of the manifest builder</param>
        /// <param name="assembly">Assembly to search for endpoints</param>
        /// <returns>Same instance of the manifest builder</returns>
        public static EasyEndpointBuilder WithEndpointsFromAssembly(this EasyEndpointBuilder builder, Assembly assembly)
        {
            foreach (var endpoint in assembly.DefinedTypes.Where(IsRequestEndpoint))
            {
                builder.WithEndpoint(endpoint);
            }

            return(builder);
        }
 /// <summary>
 /// Adds a new endpoint to the manifest
 /// </summary>
 /// <param name="endpoint">Endpoint to be added to manifest</param>
 public void AddEndpoint(Type endpoint)
 {
     builder.WithEndpoint(endpoint);
 }