openapi.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Generated with protoc-gen-openapi
  2. # https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
  3. openapi: 3.0.3
  4. info:
  5. title: Greeter API
  6. description: The greeting service definition.
  7. version: 0.0.1
  8. paths:
  9. /helloworld/{name}:
  10. get:
  11. tags:
  12. - Greeter
  13. description: Sends a greeting
  14. operationId: Greeter_SayHello
  15. parameters:
  16. - name: name
  17. in: path
  18. required: true
  19. schema:
  20. type: string
  21. responses:
  22. "200":
  23. description: OK
  24. content:
  25. application/json:
  26. schema:
  27. $ref: '#/components/schemas/helloworld.v1.HelloReply'
  28. components:
  29. schemas:
  30. helloworld.v1.HelloReply:
  31. type: object
  32. properties:
  33. message:
  34. type: string
  35. description: The response message containing the greetings
  36. tags:
  37. - name: Greeter