Skip to content

Quick

Batch add APIs by simply input a json and customize some options.

截图

  • Input JSON / JS like this user, book are the schema name .
ts
 {
    user:{
      name:'',
      age:1,
      job:''
    },
    book:{
      author:'',
      name:'',
      price:1
    }
  }
  • click Batch Generate button , If a success toast is shown, the APIs has been generated
    MethodUrlDescription
    get/api/userlist users
    get/api/user/:idget user detail
    post/api/useradd user
    put/api/user/:idupdate user
    delete/api/user/:iddelete user
    get/api/booklist books
    get/api/book/:idget book detail
    post/api/bookadd book
    put/api/book/:idupdate book
    delete/api/book/:iddelete book