Vasiliy Tolstov
4c0469d1f0
Some checks failed
test / test (push) Failing after 16s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
# Generated with protoc-gen-go-micro
|
|
|
|
openapi: 3.0.3
|
|
info:
|
|
title: Test API
|
|
version: 0.0.1
|
|
paths:
|
|
/Call:
|
|
post:
|
|
tags:
|
|
- Test
|
|
operationId: Call
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/CallReq'
|
|
required: true
|
|
responses:
|
|
default:
|
|
description: Default
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/ErrorRsp'
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/CallRsp'
|
|
components:
|
|
schemas:
|
|
CallReq:
|
|
type: object
|
|
properties:
|
|
req:
|
|
type: string
|
|
CallRsp:
|
|
type: object
|
|
properties:
|
|
rsp:
|
|
type: string
|
|
ErrorRsp:
|
|
type: object
|
|
properties:
|
|
err:
|
|
type: string
|
|
tags:
|
|
- name: Test
|