Currently runtime's producers/consumers are statically set via a predefined list. While those defaults might not be bad, this could probably be done smarter, by inferring the information from the OpenAPI/Swagger2.0 Spec.
Relevant TODO: https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L136
Currently runtime's producers/consumers are statically set via a predefined list. While those defaults might not be bad, this could probably be done smarter, by inferring the information from the OpenAPI/Swagger2.0 Spec.
Relevant TODO: https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L136