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.
39 lines
1.1 KiB
39 lines
1.1 KiB
# 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: |
|
/helloworld/{name}: |
|
get: |
|
tags: |
|
- Greeter |
|
- subgroup |
|
description: Sends a greeting |
|
operationId: Greeter_SayHello |
|
parameters: |
|
- name: name |
|
in: path |
|
required: true |
|
schema: |
|
type: string |
|
responses: |
|
"200": |
|
description: OK |
|
content: |
|
application/json: |
|
schema: |
|
$ref: '#/components/schemas/helloworld.v1.HelloReply' |
|
components: |
|
schemas: |
|
helloworld.v1.HelloReply: |
|
type: object |
|
properties: |
|
message: |
|
type: string |
|
description: The response message containing the greetings |
|
tags: |
|
- name: Greeter
|
|
|