File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ dependencies {
2525
2626## How to use
2727
28- ### 1. Create json file of your api response lets say ` picsum_list.json ` and put it in ` assets/mock_json ` directory
28+ 1 . Create json file of your api response lets say ` picsum_list.json ` and put it in ` assets/mock_json ` directory
2929
3030``` json
3131[
@@ -56,7 +56,7 @@ dependencies {
5656]
5757```
5858
59- ### 2. Define your api interface and annotate endpoint with ` @mock("picsum_list.json") ` so that Mockfit can generate config for you
59+ 2 . Define your api interface and annotate endpoint with ` @mock("picsum_list.json") ` so that Mockfit can generate config for you
6060``` kotlin
6161interface Api {
6262
@@ -69,7 +69,7 @@ interface Api {
6969}
7070```
7171
72- ### 3. Add ` MockfitInterceptor ` to retrofit configuration
72+ 3 . Add ` MockfitInterceptor ` to retrofit configuration
7373``` kotlin
7474class RemoteDataSource (private val context : Context ) {
7575
You can’t perform that action at this time.
0 commit comments