Description from extension meta
Automatically convert Swagger API definitions into form fields and columns, supporting custom field converters.
Image from store
Description from store
Swagger Fields Generator
Swagger Fields Generator is a browser extension designed to simplify API transformations, quickly generate forms and tables, and accelerate interface development.
Features
Automatic Conversion: Automatically converts Swagger documents into form fields and table columns.
Custom Converters: Supports user-defined conversion rules to meet specific requirements.
Multilingual Support: Provides multilingual interfaces for global users.
Single Project Configuration: Supports single project configurations, allowing users to switch projects quickly.
Installation
The plugin is available for download in the plugin store; you can install it directly.
Alternatively, you can manually install the plugin by following these steps:
Download the plugin's .crx file.
Enter chrome://extensions/ in the browser's address bar to open the Extensions page.
Enable "Developer mode," then drag and drop the .crx file onto the page to install.
Usage
Open the target Swagger website.
Click the plugin icon in the browser toolbar to open the plugin popup.
In the popup, click the "Enable" button to activate the plugin.
The plugin will automatically attempt to fetch data from the configured JSON request URL.
After successful retrieval, refresh the current page to see the generator buttons added by the plugin.
Click the generator buttons, and the generated code will appear in a popup for you to copy and use.
Configuration
Number of Buttons Displayed: Sets the maximum number of buttons displayed in the API section on the Swagger page. The default value is 5. When the number of buttons configured in the project exceeds this value, they will be presented in a collapsed manner.
JSON Request URL: Configures the JSON request URL for the current Swagger. Supports adding multiple URLs, separated by line breaks. Supports both full and relative paths.
Select Buttons to Display: Selects the buttons to display on the current Swagger page. Supports drag-and-drop sorting.
Swagger Fields Generator aims to simplify API transformations, quickly generate forms and tables, and accelerate interface development.