This sample demonstrates how to use Google Cloud Endpoints on Google App Engine Flexible Environment using Java.
Open the src/main/appengine/openapi.yaml file in your favorite editor, and replace the YOUR-PROJECT-ID host line with your actual Google Cloud Platform project Id.
$ mvn jetty:run
$ mvn gcloud:deploy
Please refer to the Google Cloud Endpoints documentation for App Engine Flexible Environment to learn about creating an API Key and calling your API.