Reputation: 53
My Google App Engine application uses the old (v1) version of the Cloud Endpoints, as far as I see in the documentation it is recommended to migrate to v2 Cloud Endpoints Framework.
The application uses Java Standard Environment and it is a backend for Android and iOS clients.
Currently during development of the API I generate both the client libraries for Android and the discovery docs for the iOS mobile application, as described in the docs:
https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/java/generate-discovery-doc-ios
The documentation of the v2 version does however read only about generating the Android client library.
https://cloud.google.com/endpoints/docs/frameworks/java/about-cloud-endpoints-frameworks
So my question is:
Does the new version of the Cloud Endpoints feature support generating the discovery docs, or helps to integrate the iOS Client in any other way?
Upvotes: 3
Views: 312
Reputation: 2595
Yes, the new Endpoints can still generate discovery documents. However, you must upgrade to the new RESTful iOS client, as the old one has been deprecated for almost a year. Using the EndpointsTool
main class, you can pass arguments get-discovery-doc com.example.TestEndpoint...
to get a discovery document. Then, follow the instructions on the REST client page. We will eventually have docs for this, apologies for the inconvenience.
Upvotes: 1