add parameters to swagger definition