I'm using swagger-codegen to generate code for android client (for volley 
library).

for adding header to http get request, i'm using the following method

=> api.addHeader(String key, String value)


without specifying header for get request in input yaml file, i'm able to 
add header to the request using the above method.  Similarly is there a way 
to get headers from the response object. 



On Tuesday, March 24, 2015 at 10:02:24 PM UTC+5:30, Ron wrote:
>
> No worries, it's a big doc.
>
> On Tue, Mar 24, 2015 at 6:31 PM, Onam Chilwan <[email protected] 
> <javascript:>> wrote:
>
>> Lovely thank you very much that worked a treat. Missed it on the doc :(
>>
>>> -----------------------------------------
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Swagger" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> -----------------------------------------
> http://swagger.io
> https://twitter.com/SwaggerApi
> -----------------------------------------
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to