func PathParam(name string) *Parameter {
	return &Parameter{ParamProps: ParamProps{Name: name, In: "path", Required: true}}
}
PathParam creates a path parameter, this is always required
package spec
import (
	"encoding/json"
	"github.com/go-openapi/jsonpointer"
	"github.com/go-openapi/swag"
)
func QueryParam(name string) *Parameter {
	return &Parameter{ParamProps: ParamProps{Name: name, In: "query"}}
}
func HeaderParam(name string) *Parameter {
	return &Parameter{ParamProps: ParamProps{Name: name, In: "header", Required: true}}
}