It should be Integer or Numeric. As it is, apipie interprets the param as a string.
Created from redmine issue https://projects.theforeman.org/issues/23287
Upstream bug assigned to akofink