56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
openapi: "3.1.0"
|
|
info:
|
|
title: "boardmate_api API"
|
|
description: "boardmate_api API"
|
|
version: "1.0.0"
|
|
servers:
|
|
- url: "https://boardmate_api"
|
|
paths:
|
|
/client/create:
|
|
post:
|
|
summary: "POST client/create"
|
|
operationId: "create"
|
|
tags:
|
|
- Client
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/ClientDto"
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: "OK"
|
|
content:
|
|
'*/*':
|
|
schema:
|
|
$ref: "#/components/schemas/ResponseBodyString"
|
|
components:
|
|
schemas:
|
|
|
|
ResponseBodyString:
|
|
type: "object"
|
|
properties:
|
|
data:
|
|
type: "string"
|
|
nullable: true
|
|
message:
|
|
type: "string"
|
|
nullable: true
|
|
success:
|
|
type: "boolean"
|
|
nullable: false
|
|
|
|
ClientDto:
|
|
type: "object"
|
|
properties:
|
|
companyName:
|
|
type: "string"
|
|
nullable: true
|
|
username:
|
|
type: "string"
|
|
nullable: true
|
|
key:
|
|
type: "string"
|
|
nullable: true
|