quick_guide
Table of Contents
Enter http://rap.taobao.org than register your account.
After register and login, select your team (managed by RAP server admin).
Than choose/manage your product line => group, than add a project to your group.
Click project block to enter the API document edit workspace as below. In default, RAP is view mode
, you can view document, but you can't edit. In this mode RAP will hide all edit controllers to make document easier to view.
If you want to edit, press "Edit" button to enter edit mode
.
Using GUI to edit your document, add/remove parameters. You can import JSON data to your API document.
In this example, we:
- add a/b/c 3 parameters
- selected data types for them
- Click
API DETAILS
area, add Action URL, written something you like, eg-> /get/data.json, than confirm
After all things done, click Fast Save
button to save the document.
Click button of page to enter the API toolbox page.
Press MockJS Data
button, you can see RAP can generate mock data based on your API data.
This quick guide is a easy and quick guide of how to use RAP. How to manage mock rules? Any questions on API edit and mock/validate tools, please read user manual for details.
Any questions, freely create issues here, or send me an e-mail :)
powered by Bosn@Alimama MUX
-
WIKI Home
- What is RAP
- Quick Guide
- User Manual
- Deploy Manual
- Dev Manual(writing)
- Wiki主页 (中文版)