I upgraded to Cloud Endpoints 2.0 recently. I never saw this issue when 
generating the now deprecated RPC doc. I believe there is an issue with 
discovery document generation, where it doesn't create the '"format": 
"double' for double fields. creditAmount below should have the format tag. 

Fixing this manually for all the similar fields fixed the errors when 
running the service generator for iOS client library generation. Has 
anybody else encountered this?

See:


"creditKickbackKash": {
     "httpMethod": "PUT",
     "id": "servUsApi.admin.creditKickbackKash",
     "parameterOrder": [
      "userId",
      "creditAmount"
     ],
     "parameters": {
      "userId": {
       "format": "int64",
       "location": "path",
       "required": true,
       "type": "string"
      },
      "creditAmount": {
       "location": "path",
       "required": true,
       "type": "number"
      }
     },
     "path": "creditKickbackKash/{userId}/{creditAmount}",
     "response": {
      "$ref": "ResultDTO"
     },
     "scopes": [
      "https://www.googleapis.com/auth/userinfo.email";
     ]
    }

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/58ce01ae-b6b7-413d-9c5b-118c9f20a6eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to