Skip to content

Instantly share code, notes, and snippets.

@alexandrebl
Created March 15, 2019 22:53
Show Gist options
  • Select an option

  • Save alexandrebl/2a8b679720819f0cdf207fca44560286 to your computer and use it in GitHub Desktop.

Select an option

Save alexandrebl/2a8b679720819f0cdf207fca44560286 to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
description: "A healthcheck Example"
title: "Endpoints Example"
version: "1.0.0"
host: "healthcheck.endpoints.beta000.cloud.goog"
consumes:
- "application/json"
produces:
- "application/json"
schemes:
- "http"
paths:
"/healthcheck":
get:
description: "HealthCheck verification"
operationId: "healthcheck"
produces:
- "application/json"
responses:
200:
description: "HealthCheck"
@alexandrebl
Copy link
Author

Comando para implantação do Google Cloud Endpoints: gcloud endpoints services deploy openapi.yaml

@alexandrebl
Copy link
Author

gcloud endpoints services deploy openapi.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment