20 lines
640 B
TypeScript
20 lines
640 B
TypeScript
![]() |
import { getAccountParams } from "./inputs";
|
|||
|
import { getAccountResponse, createAccountResponse } from "./responses";
|
|||
|
|
|||
|
import type { SwaggerSchema } from "@/types/swagger.type";
|
|||
|
|
|||
|
export const getAccountSchema: SwaggerSchema = {
|
|||
|
summary: "Получение информации об аккаунте",
|
|||
|
description: "Получение аккаунта по ID",
|
|||
|
tags: ["account"],
|
|||
|
params: getAccountParams,
|
|||
|
response: getAccountResponse,
|
|||
|
};
|
|||
|
|
|||
|
export const createAccountSchema: SwaggerSchema = {
|
|||
|
summary: "Создание аккаунта",
|
|||
|
tags: ["account"],
|
|||
|
response: createAccountResponse,
|
|||
|
security: [{ bearer: [] }],
|
|||
|
};
|