You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
892 B
32 lines
892 B
# Generated with protoc-gen-openapi
|
|
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
|
|
|
|
openapi: 3.0.3
|
|
info:
|
|
title: Greeter API
|
|
description: The greeting service definition.
|
|
version: 0.0.1
|
|
paths:
|
|
/ping:
|
|
get:
|
|
tags:
|
|
- Greeter
|
|
description: Sends a greeting
|
|
operationId: Greeter_Ping
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.PingReply'
|
|
components:
|
|
schemas:
|
|
api.PingReply:
|
|
type: object
|
|
properties:
|
|
message:
|
|
type: string
|
|
description: The response message containing the greetings
|
|
tags:
|
|
- name: Greeter
|
|
|