I have create End point api and messages
here is my code for message
class UserBasedAccessRequest(messages.Message):
domain = messages.StringField(number = 1, required=True)
user_key = messages.StringField(number = 2, required=True)
@endpoints.method(UserBasedAccessRequest, CustomerListResponse,
http_method='GET', name='customer.list')
def list_customer(self, request):
when i run this
python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle
src.service.mobile_api.MobileApi
it create a zip file in java
but in java
public List list(java.lang.String userKey, java.lang.String domain)
throws java.io.IOException {
List result = new List(userKey, domain);
initialize(result);
return result;
}
userKey is first parameter and domain is second but I define domain as
first parameter.. I am facing this problem in other GET API where parameter
are not in sequence
How can i slove this problem
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/95669c43-15ac-4644-b43f-c9a4ac027606%40googlegroups.com.