Barricade icon indicating copy to clipboard operation
Barricade copied to clipboard

Param support added

Open vikram2330 opened this issue 6 years ago • 0 comments

Added annotations for more support QueryParams - supports query string params for GET request for eg. @Barricade(endpoint = "/jokes/random", queryParams = { @QueryParams( params = {@Params(name = "path",value = "success")} , response = @Response(fileName = "success.json",isDefault = true)), @QueryParams( params = {@Params(name = "path",value = "failure")} , response = @Response(fileName = "failure.json", statusCode = 401)) })

UrlPath - supports dynamic url endpoints for retrofit requests for eg. @Barricade(endpoint = "/jokes/", path = {@UrlPath(path = "path", responses = { @Response(fileName = "success.json") }) })

Also now we can enable or disable ShakeListener.

vikram2330 avatar Aug 20 '19 12:08 vikram2330