We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb500d commit cc74993Copy full SHA for cc74993
src/main/kotlin/io/openapiprocessor/spring/writer/java/MappingAnnotationWriter.kt
@@ -37,12 +37,12 @@ class MappingAnnotationWriter(private val annotations: SpringFrameworkAnnotation
37
mapping += '}'
38
}
39
40
- val contentTypes = endpointResponse.contentTypes
41
- if (contentTypes.isNotEmpty()) {
+ val produces = endpointResponse.contentTypes
+ if (produces.isNotEmpty()) {
42
mapping += ", "
43
mapping += "produces = {"
44
45
- mapping += contentTypes.joinToString(", ") {
+ mapping += produces.joinToString(", ") {
46
quote(it)
47
48
0 commit comments