Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Part Form Serialisation breaks for Swagger UI based requests #45

Open
parthbond180 opened this issue Jul 26, 2022 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@parthbond180
Copy link
Contributor

While testing flow triggering with multipart/form-data Content Type with Swagger UI, an options parameter is added by default. This caused the serialisation to break as options parameter is a nested structured object, that requires to be treated as such.

@parthbond180
Copy link
Contributor Author

The options parameter is passed from Swagger UI as a JSON object. According to the OpenAPI spec, application/json Content Type is supported as a field within a multipart/form-data request. However, the jetty library provided MultiPartContentProvider does not have an appropriate method for adding application/json content. We will open a request so that jetty can support such methods. This is preventing us from introducing a test case for this flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants