This probably doesn't apply to most people, but if you use Android Studio and use gradle in the backend module, discovery documents can be automatically generated by the installation getClientLibsOnBuild = truein the gradle file:
appengine {
downloadSdk = true
appcfg {
oauth2 = true
}
endpoints {
getClientLibsOnBuild = true
getDiscoveryDocsOnBuild = true
}
}
Discovery documents are located at <project>/<module>/build/discovery-docs/. If they are not generated, try deploying to App Engine, which did it for me.
source
share