mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 06:06:08 +00:00
Added default headers to ServerError<T> for Kotlin OkHTTP generator (#20161)
This commit is contained in:
@@ -39,5 +39,5 @@ class ServerError<T>(
|
||||
val message: String? = null,
|
||||
val body: Any? = null,
|
||||
override val statusCode: Int = -1,
|
||||
override val headers: Map<String, List<String>>
|
||||
override val headers: Map<String, List<String>> = mapOf()
|
||||
): ApiResponse<T>(ResponseType.ServerError)
|
||||
|
||||
Reference in New Issue
Block a user