Skip to content

Conversation

@JacC510
Copy link
Contributor

@JacC510 JacC510 commented Nov 16, 2017

Description of the PR

@cbornet bugfix suggestion for #6976 Change for Java(resttemplate)

* @return ApiClient this client
*/
public ApiClient addDefaultHeader(String name, String value) {
if(defaultHeaders.containsKey(name))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wing328
Copy link
Contributor

wing328 commented Nov 20, 2017

Please use 4-space instead of tab.

@wing328 wing328 merged commit 181680b into swagger-api:master Nov 20, 2017
@wing328
Copy link
Contributor

wing328 commented Nov 20, 2017

@JacC510 thanks for the PR, which has been merged into master.

Next time, please update the Java RestTemplate Petstore samples by running the related shell script (./bin/*.sh) or batch files (.\bin\windows*.bat) so that the CI can verify the change.

I've updated the samples via 404b526.

@wing328 wing328 changed the title - fix duplicate problem [Java][RESTTempalte] fix duplicated header problem Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants