-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecd3e05
commit 3ca4324
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# yapi-to-code | ||
|
||
A chrome extension to generate code for [yApi](https://github.com/YMFE/yapi). | ||
|
||
## Usage | ||
|
||
![](./images/getApiCode.png) | ||
|
||
![](./images/optionsPage.png) | ||
|
||
## Install | ||
|
||
~~install by [chrome extension]()~~ | ||
|
||
Or | ||
|
||
1. clone the project | ||
|
||
```bash | ||
git clone https://github.com/xianshenglu/yapi-to-code.git | ||
``` | ||
|
||
2. Click the `Load unpacked` button in `chrome:https://extensions/` page. | ||
|
||
![](./images/loadUnpacked.png) | ||
|
||
3. Click the `detail` button | ||
|
||
![](./images/extensionPage.png) | ||
|
||
1. Scroll to bottom and click the `Extension options` | ||
|
||
![](./images/detailPage.png) | ||
|
||
1. Configure the required fields Or you can configure it later after you get the generated code. | ||
2. Go back to your yApi site and reload! | ||
3. Operate like [Usage](#usage) and go back to step 5 if you want. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.