-
-
Notifications
You must be signed in to change notification settings - Fork 548
Closed
Description
Describe the bug
Swagger UI populates accept header but not the content-type:
curl -X GET "http://localhost:8080/tasks?jobId=A4990A6DE8D52489E05313108A0A7678&tradeDate=2020-05-06" -H "accept: application/json"
Content-type is populated on the response header with the error message:
connection: keep-alive
content-type: application/json
date: Fri, 08 May 2020 12:32:29 GMT
keep-alive: timeout=60
transfer-encoding: chunked
"timestamp": "2020-05-08T12:32:29.081+0000",
"status": 415,
"error": "Unsupported Media Type",
"message": "Content type '' not supported",
Controller:
@GetMapping(value = "/tasks", produces = "application/json", consumes = "application/json")
POM:
org.springdoc
springdoc-openapi-ui
1.3.8
Metadata
Metadata
Assignees
Labels
No labels