$ gcloud service-management deploy swagger.yaml
ERROR: unknown location: http: body field path 'body' must be a non-repeated message.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/39e23d88-9627-4084-9b03-ce480b636239%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ find . -name openapi.yaml
$Hi,Endpoints does not support everything specified in the OpenAPI spec. This is why you are getting this error.If you are trying to get a sample working in Endpoints, you can take a look at the Quickstarts:Thanks,Wesley
On Wed, May 10, 2017 at 11:37 AM <in...@shopline.se> wrote:
What do I need to do to get this simple example to work in Google Endpoints?--Tried for 2 hours now.$ gcloud service-management deploy swagger.yaml
ERROR: unknown location: http: body field path 'body' must be a non-repeated message.
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
In Java , the body variable name passing in the endpoint cannot be same . Change the name of the variable passed as body in the POST request in the same endpoint.