APIGit
2023-02-06
In our recent release, we introduced one-click generation of ready-to-use mock servers features. This will transform the way you create and manage your mock servers. With just one click, you can now quickly generate ready-to-use mock servers from your API specification stored in APIGit's repository or an APIGit mock server example.
To take advantage of this new feature, simply navigate to the Mock Server Scripts
tab and click on the Automatic Mockserver Script Generation
button. From there, you can select the API specification you wish to generate the mock server from.
Select which API specifications will be used for the mock server generation in the poped up window.
A full ready-to-use mock server script is generated after clicking start generate
button
For added convenience, the automatic mock server script generation process will also backup all existing mock scripts to a designated backup folder and create new main.js and additional mock server script files. With the diff feature, you can easily compare and apply changes between your existing mock server and the newly generated one, ensuring that your mock server is always up-to-date.
In addition to generating the entire mock server scripts, you can also use the Sync routes from API Spec
option to manually compare and apply changes when editing.The function makes it easy to detect changes in your API specification and update your mockserver up-to-date, ensuring it accurately reflects the latest state of your API.
Here are some of the key benefits of this new feature:
We believe that this new feature will significantly enhance your experience with Mockserver and make the process of creating and managing mock servers faster and easier. If you have any questions or feedback, please don't hesitate to reach out to our support team. We're here to help!
© 2024 APIGit Inc.