Google App Engine:如何为 iOS(gradle 构建)生成发现文档?
Google App Engine: how to generate discovery doc for iOS (gradle build)?
我正在使用 Android Studio 开发我的(GAE + Cloud Endpoints)服务器,我需要为 iOS.
生成一个发现文档
Google doc: Generating Client Libraries 显示了为 iOS 生成发现文档的两种方法:
- using Maven
我的后端项目是在 Studio 中开发并由 gradle 构建的,所以我不能选择此选项。
- using endpoints.sh (Change directory to the parent directory of your project's /war directory.)
我的 gradle 构建结构中没有 /war 目录。
如何为 iOS 生成客户端库?有人可以帮忙吗?
感谢@Opal!
在 运行ning gradle war
之后有一个名为 backend/build/discovery-docs
的生成目录,其中包含:
- apiname-v1-rest.discovery
- apiname-v1-rpc.discovery
所以我得到了 iOS 的发现文档,不需要 运行 :
- using endpoints.sh (Change directory to the parent directory of your project's /war directory.)
我正在使用 Android Studio 开发我的(GAE + Cloud Endpoints)服务器,我需要为 iOS.
生成一个发现文档Google doc: Generating Client Libraries 显示了为 iOS 生成发现文档的两种方法:
- using Maven
我的后端项目是在 Studio 中开发并由 gradle 构建的,所以我不能选择此选项。
- using endpoints.sh (Change directory to the parent directory of your project's /war directory.)
我的 gradle 构建结构中没有 /war 目录。
如何为 iOS 生成客户端库?有人可以帮忙吗?
感谢@Opal!
在 运行ning gradle war
之后有一个名为 backend/build/discovery-docs
的生成目录,其中包含:
- apiname-v1-rest.discovery
- apiname-v1-rpc.discovery
所以我得到了 iOS 的发现文档,不需要 运行 :
- using endpoints.sh (Change directory to the parent directory of your project's /war directory.)