swagger2api( alpha )
Quickly converting api document to usable Front-End code.
How to use
- Open a swagger json file, press LIGHTING icon.
- Edit code template in normal Javascript file just as you like!
- Press button again, if everything goes successfully, just check
exportApi
fold in your workspace.
Limitation
For security reason, there are some constraints for users.
- Since user can modify the file which later will be excuted by this plugin and in case of any unfunctional or unexpected code injected to plugin runtime, the tempalte file must only export one given function, you could only write your help function inside the given scope. Once you didn't follow this rule, error will occur.