Support for requests encoded in message pack #10276
marticobos
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Swagger team,
I would like to use swagger-editor and swagger-ui to perform requests and test API integrated into a server which only accepts requests if they are encoded in MessagePack.
Currently, if the API has defined
application/msgpack
as a valid content type, swagger-editor and swagger-ui allow the user to select this option.Example of API definition:

Example of how this API is shown on swagger-editor:

When trying the execute a request and selecting
application/msgpack
as the content type of the request, swagger performs the request, but encoding its body in JSON format. In this case, it would be helpful if the requests are automatically encoded in MessagePack to match the server and API requirements.Would it be possible to integrate encoding the requests using MessagePack both swagger-ui and swagger-editor?
For instance, MessagePack could be used to encode the requests if the request body content is set to
application/msgpack
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions