Handle api declarations without models