func Endpoints(endpoints ...*swagger.Endpoint) Option {
	return func(builder *Builder) {
		for _, e := range endpoints {
			builder.API.AddEndpoint(e)
		}
	}
}
Endpoints allows the endpoints to be added dynamically to the Api
package swag
import "github.com/savaki/swag/swagger"
type Builder struct {
	API *swagger.API
}
type Option func(builder *Builder)
func Description(v string) Option {
	return func(builder *Builder) {
		builder.API.Info.Description = v
	}
}
func Version(v string) Option {
	return func(builder *Builder) {
		builder.API.Info.Version = v
	}
}
func TermsOfService(v string) Option {
	return func(builder *Builder) {
		builder.API.Info.TermsOfService = v
	}
}
func Title(v string) Option {
	return func(builder *Builder) {
		builder.API.Info.Title = v
	}
}
func ContactEmail(v string) Option {
	return func(builder *Builder) {
		builder.API.Info.Contact.Email = v
	}
}
func License(name, url string) Option {
	return func(builder *Builder) {
		builder.API.Info.License.Name = name
		builder.API.Info.License.URL = url
	}
}
func BasePath(v string) Option {
	return func(builder *Builder) {
		builder.API.BasePath = v
	}
}
func Schemes(v ...string) Option {
	return func(builder *Builder) {
		builder.API.Schemes = v
	}
}
type TagOption func(tag *swagger.Tag)
func TagDescription(v string) TagOption {
	return func(t *swagger.Tag) {
		t.Docs.Description = v
	}
}
func TagURL(v string) TagOption {
	return func(t *swagger.Tag) {
		t.Docs.URL = v
	}
}
func Tag(name, description string, options ...TagOption) Option {
	return func(builder *Builder) {
		if builder.API.Tags == nil {
			builder.API.Tags = []swagger.Tag{}
		}
		t := swagger.Tag{
			Name:        name,
			Description: description,
		}
		for _, opt := range options {
			opt(&t)
		}
		builder.API.Tags = append(builder.API.Tags, t)
	}
}
func Host(v string) Option {
	return func(builder *Builder) {
		builder.API.Host = v
	}
}