Barricade
Barricade copied to clipboard
Param support added
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.