- Define a request(LoginReq) and responese(LoginReply) and a user-api service with a
Right-click on the
user.api file, and then click to enter
Api Code, enter the target directory selection, that is, the target storage directory of the api source code, the default is the directory where user.api is located, select Click OK after finishing the list.
Open user.api, enter the editing area, use the shortcut key
Command+N (for macOS) or
alt+insert (for windows), select
Api Code, and also enter the directory selection pop-up window, after selecting the directory Just click OK.