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.
42 lines
1.2 KiB
42 lines
1.2 KiB
# Generated with protoc-gen-openapi
|
|
# https://github.com/google/gnostic/tree/master/apps/protoc-gen-openapi
|
|
|
|
openapi: 3.0.3
|
|
info:
|
|
title: TransactionService API
|
|
version: 0.0.1
|
|
paths:
|
|
/v1/transaction:
|
|
post:
|
|
tags:
|
|
- TransactionService
|
|
operationId: TransactionService_CreateUser
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/CreateUserRequest'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/CreateUserReply'
|
|
components:
|
|
schemas:
|
|
CreateUserReply:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
CreateUserRequest:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
email:
|
|
type: string
|
|
tags:
|
|
- name: TransactionService
|
|
|