Update task to generate only files in api.yml