forked from loafle/openapi-generator-original
fix: Fixes headers annotation for kotlin retrofit2 api template (#16680)
This commit is contained in:
parent
bb3096c99c
commit
af352df10f
@ -145,9 +145,7 @@ interface {{classname}} {
|
||||
{{^formParams}}
|
||||
{{#prioritizedContentTypes}}
|
||||
{{#-first}}
|
||||
@Headers({
|
||||
"Content-Type:{{{mediaType}}}"
|
||||
})
|
||||
@Headers("Content-Type:{{{mediaType}}}")
|
||||
{{/-first}}
|
||||
{{/prioritizedContentTypes}}
|
||||
{{/formParams}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user