swagger-api/swagger-codegen

[Objc] Request specific headers

Open

#4,127 opened on 2016年11月4日

GitHub で見る
 (6 comments) (1 reaction) (0 assignees)HTML (5,474 forks)batch import
Client: ObjcEnhancement: Featurehelp wanted

Repository metrics

Stars
 (12,701 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

I need to add an authorization header to each request. This header is generated for every request.

I would normally do so by subclassing AFHTTPRequestSerializer, this is not an option since the request serializer is being recreated before request : see.

Is there another way to do it ?

Swagger-codegen version

Version : 2.3.0

Suggest a Fix

I'm working on a fix, I'll submit a PR later.

コントリビューターガイド