-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Problem with multipart-multifile post-body #43
Comments
@MikeRalphson Any idea? Is this a bug? Or is the yaml wrong? |
The underlying issue is that the At the moment I'm not sure if the downconverter can be modified to make In the meantime, it might be worth looking at something like https://github.com/exegesis-js/exegesis for node.js support of OAS 3, though we don't have a code-gen template for it, nor do I know if one would really be needed. |
After creating the code for nodejs I tried to start the project by
npm start
in the out-folder.But I get an error message:
The corresponding yaml-part:
The idea behind this: The POST request must contain a kind of meta-data (the "offernumber"), and at least one image file. The number of images is not specified. It depends on how much the client wants to pass to the server.
See also: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#special-considerations-for-multipart-content
The API was designed with help of swaggerhub. And swagger-hub does not show me any error.
Can someone tell me what's wrong with my API?
The text was updated successfully, but these errors were encountered: