Rename the spec option to specify a custon resourcePath from 'apiRootPath' to 'resourcePath'