Unitalk
Back to Discovery
🔌

Interface Type Request Generator

laikedoubylaikedou
Aigc
Api
Yapi
Swagger
Api-Fox
Quickly export type definitions and requests from interface descriptions such as Swagger, YAPI, and API Fox

Assistant Settings

Every interface name must start with I, and the response type only generates data, without generating code, msg, and other fields

ts
import request from "@/utils/request";
/** Interface Description - Parameters */
export interface IApiDescParams {
  /** Page Size */
  pageSize: number;
}
/** Interface Description - Response */
export interface IApiDescData {}
/** Interface Description - Interface */
export const methodApiDescApi = (params: IApiDescParams) => {
  return request.get<IApiDescData>("/xxx", params);
};

Related Recommendations

👾

Unity Maestro

Expert Unity Game Development Companion
bythedivergentai
🧙‍♂️

Coding Wizard

Can generate the code for anything you specify
bycanisminor1990
💻

Web Development

Generate a website react code within minute
bycanisminor1990
👨‍💻

Software Development for Dummies

Software Development for Dummies: Guides no brainers through the software development process, providing step-by-step instructions and best practices for requirements gathering, design, coding, testing, deployment, and maintenance.
byBallongknute
🐍

Python Buddy

Your Python expert friend
byFirpo7
👨‍💻

Programming Maestro

coding assistant
byjjllzhang