octomation/go-service

View on GitHub
api/openapi/meta.yaml

Summary

Maintainability
Test Coverage
openapi: 3.0.1

info:
  title: OctoLab Service API
  description: OctoLab Service API Specification.
  termsOfService: https://www.octolab.org/

  contact:
    name: OctoLab
    url: https://www.octolab.org/
    email: support@octolab.org

  license:
    name: MIT
    url: https://www.octolab.org/license/MIT

  version: 1.0.0

paths:
  /twirp/api.service.v1.GreeterService/Hello:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.rpc.v1.HelloRequest'
      responses:
        '200':
          description: Returns greetings.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.rpc.v1.HelloResponse'
  /twirp/api.service.v1.GreeterService/Sign:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api.rpc.v1.SignRequest'
      responses:
        '200':
          description: Returns license.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.rpc.v1.SignResponse'