-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Hello,
Trying to understand why my client (generated by go-swagger) would not accept the application/problem+json media type I stumbled upon these hard coded values: https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L137-L147
What are the reason for these?
They are used in Submit() but shouldn't the values from the passed runtime.ClientOperation struct be used instead e.i. runtime.ClientOperation.ProducesMediaTypes and runtime.ClientOperation.ConsumesMediaTypes?