You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MessagePackInputFormatter implements IInputFormatter which makes sense, but IInputFormatter does not provide any info about format for ApiExplorer, so ApiExplorer doesn't know that the application also supports application/x-msgpack.
I suggest using InputFormatter instead of IInputFormatter. InputFormatter also has a set of supported content types, so ApiExplorer will be aware of application/x-msgpack support. This way the generated Swagger documents will also contain information about application/x-msgpack.
Same goes for MessagePackOutputFormatter (change IOutputFormatter to OutputFormatter).
The text was updated successfully, but these errors were encountered:
Currently
MessagePackInputFormatter
implementsIInputFormatter
which makes sense, butIInputFormatter
does not provide any info about format for ApiExplorer, so ApiExplorer doesn't know that the application also supportsapplication/x-msgpack
.I suggest using InputFormatter instead of
IInputFormatter
.InputFormatter
also has a set of supported content types, so ApiExplorer will be aware ofapplication/x-msgpack
support. This way the generated Swagger documents will also contain information aboutapplication/x-msgpack
.Same goes for
MessagePackOutputFormatter
(changeIOutputFormatter
to OutputFormatter).The text was updated successfully, but these errors were encountered: