add combo test example

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-03-04 23:30:53 +03:00
parent 09f5a71e0b
commit 288d16a6f0
17 changed files with 681 additions and 902 deletions

View File

@@ -0,0 +1,50 @@
# 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/Error'
"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
Error:
type: object
properties:
err:
type: string
tags:
- name: Test