Rename BaseAPI.api_spec to spec