Skip to content

goldEli/openapi2typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI JSON convert to typescript

  1. copy openAPI json
  2. execute npx ifun-o2t

Config

config output dir name

# default output dir name is ./src/_api
npx ifun-o2t -o ./src/api

# 指定生成 api 注意前面的斜线一定要去掉
npx ifun-o2t -i api/msg-center/message/getList

# 所有接口
npx ifun-o2t -a

About

openapi to typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published