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}}
|
{{^formParams}}
|
||||||
{{#prioritizedContentTypes}}
|
{{#prioritizedContentTypes}}
|
||||||
{{#-first}}
|
{{#-first}}
|
||||||
@Headers({
|
@Headers("Content-Type:{{{mediaType}}}")
|
||||||
"Content-Type:{{{mediaType}}}"
|
|
||||||
})
|
|
||||||
{{/-first}}
|
{{/-first}}
|
||||||
{{/prioritizedContentTypes}}
|
{{/prioritizedContentTypes}}
|
||||||
{{/formParams}}
|
{{/formParams}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user