// WithBasePath sets the base path for this url builder, only required when it's different from the
// base path specified in the swagger spec.
// When the value of the base path is an empty string
425826
func (o *UpdatePetURL) WithBasePath(bp string) *UpdatePetURL {
	o.SetBasePath(bp)
	return o
}
664980
func (o *DestroyOneURL) WithBasePath(bp string) *DestroyOneURL {
	o.SetBasePath(bp)
	return o
}
292730
func (o *AddOneURL) WithBasePath(bp string) *AddOneURL {
	o.SetBasePath(bp)
	return o
}
697466
func WithBaseDir(path string) Option {
	return Option{func(e *embedder) { e.baseDir = path }}
}
1361916
func (o *DeleteIPAMIPURL) WithBasePath(bp string) *DeleteIPAMIPURL {
	o.SetBasePath(bp)
	return o
}
483642
func (o *AddOrderURL) WithBasePath(bp string) *AddOrderURL {
	o.SetBasePath(bp)
	return o
}
591541
func PathWithinBase(fullPath, basePath string) bool {
	rel, err := filepath.Rel(basePath, fullPath)
	if err != nil {
		return false
	}
	if StartsWithBackstep(rel) {
		// Needed to escape the base path
		return false
	}
	return true
}
73049
func (o *DeleteFqdnCacheURL) WithBasePath(bp string) *DeleteFqdnCacheURL {
	o.SetBasePath(bp)
	return o
}
336084
func (o *PetCreateURL) WithBasePath(bp string) *PetCreateURL {
	o.SetBasePath(bp)
	return o
}
1325714
func (o *AddCommentToTaskURL) WithBasePath(bp string) *AddCommentToTaskURL {
	o.SetBasePath(bp)
	return o
}
315317
func (o *GetIDURL) WithBasePath(bp string) *GetIDURL {
	o.SetBasePath(bp)
	return o
}
689242
func (o *GetOrderByIDURL) WithBasePath(bp string) *GetOrderByIDURL {
	o.SetBasePath(bp)
	return o
}
1184444
func (o *FindPetsByStatusURL) WithBasePath(bp string) *FindPetsByStatusURL {
	o.SetBasePath(bp)
	return o
}
996969
func (o *GetEndpointURL) WithBasePath(bp string) *GetEndpointURL {
	o.SetBasePath(bp)
	return o
}
730378
func (o *PostIPAMIPURL) WithBasePath(bp string) *PostIPAMIPURL {
	o.SetBasePath(bp)
	return o
}
432792
func (o *CreateTaskURL) WithBasePath(bp string) *CreateTaskURL {
	o.SetBasePath(bp)
	return o
}
61121
func (o *GetHealthzURL) WithBasePath(bp string) *GetHealthzURL {
	o.SetBasePath(bp)
	return o
}