Base¶
This configuration section is the major function because here settings would decide how your mocked API works.
mocked_apis.base
¶
The basic information of all APIs. It would apply this section settings for all APIs.
url
¶
The URL basic information of all APIs. It would apply the URL path to all API path. Let's give you an example to demonstrate:
Base on above settings to configure your mocked API, you would need to add the URL path /test/v1
in font of the URL
path of all APIs. So your HTTP request URL would be like as below:
And it's an empty string if you omit this setting. In the other words, you could use the API URL path you set directly.