Description
The Feign generator is producing Api classes with an incorrect header name.
e.g.
@RequestLine("DELETE /pet/{petId}")
@headers({
"Content-type: application/json",
"Accepts: application/json",
"apiKey: {apiKey}"
})
void deletePet(@param("petId") Long petId, @param("apiKey") String apiKey);
The header should be named Accept not Accepts.
Swagger-codegen version
2.1.6
Description
The Feign generator is producing Api classes with an incorrect header name.
e.g.
@RequestLine("DELETE /pet/{petId}")
@headers({
"Content-type: application/json",
"Accepts: application/json",
"apiKey: {apiKey}"
})
void deletePet(@param("petId") Long petId, @param("apiKey") String apiKey);
The header should be named Accept not Accepts.
Swagger-codegen version
2.1.6