Fix api resource path and type ref to models